How to do java.net.InetSocketAddress optimization
I f开发者_Python百科ound the bottleneck of my program is Class InetSocketAddress. It used almost 90% of the CPU time.
You are probably doing either a DNS lookup or a reverse DNS lookup. As comments say, knowing which method is involved is important.
精彩评论