DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28322>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28322 Connection timeout logic redesign ------- Additional Comments From [EMAIL PROTECTED] 2004-04-12 14:28 ------- I would suggest caching the references to the method and constructor objects. In 1.3 VM's, that's a 3:1 performance difference. In 1.4 it's still a 2:1 performance improvement. http://jguru.com/faq/view.jsp?EID=246569 \jdk1.3.1_06\bin\java -cp . PerformanceTest 100000 regular method calls:219 milliseconds. 100000 reflective method calls without lookup:281 milliseconds. 100000 reflective method calls with lookup:954 milliseconds. \jdk1.4.2\bin\java -cp . PerformanceTest 100000 regular method calls:282 milliseconds. 100000 reflective method calls without lookup:328 milliseconds. 100000 reflective method calls with lookup:625 milliseconds. Moh --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]