Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试实现多线程脚本(php7+phtreads v3)来获取有关大量域的信息。但是,最重要的是找出域的IP。我发现 gethostbyname() 工作很慢,这是代码的瓶颈。有没有办法以某种方式提高性能?谢谢你。