所以这种办法现在几乎没有人使用了,如果您能够看到,那可能是正处在非文明社会阶段。
So this resource now almost no one used, if you could see, that might be being placed in the non - civilization social stage.
对于在服务器上频繁运行的代码,如果您能够确保服务器在每次遇到该代码时都不必解析或编译它,那么会看到明显的性能改善。
For code that runs frequently in a server, you'll see measurable gains in performance if you can ensure that the server doesn't have to parse or compile the code upon each encounter.
如果您有创建这个套接字的代码,并且您能够看到代码所使用的主机名和端口,那么这个消息就已经足够。
This message is sufficient if you have access to the code that's creating the socket and can see from the code which hostname and port are being used.
如果您能够在测试周期中将这种方法的使用作为一种习惯,那么您将可以看到,在没有进行测试的时间段内,代码更改是否引入了泄漏。
If you make this a habit during your testing cycle, you can see if code changes introduce leaks over time that you may not be testing for.
如果您能够在测试周期中将这种方法的使用作为一种习惯,那么您将可以看到,在没有进行测试的时间段内,代码更改是否引入了泄漏。
If you make this a habit during your testing cycle, you can see if code changes introduce leaks over time that you may not be testing for.
应用推荐