You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/04/03 03:56:46 UTC
DO NOT REPLY [Bug 7702] New: -
[PATCH] Speed up Tomcat a tiny bit
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7702>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7702
[PATCH] Speed up Tomcat a tiny bit
Summary: [PATCH] Speed up Tomcat a tiny bit
Product: Tomcat 4
Version: Nightly Build
Platform: All
URL: http://www.kare.uklinux.net/pub/tomcat-speed.patch
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: kare@kare.uklinux.net
Referenced patch replaces array copy for-loops with System.arraycopy(). This
should be faster as it doesn't do any array bounds checking.
And it also replaces java.util.List Iterations with a for-loop that accesses
List instance with index number (List.get(int)) and thus avoids the overhead of
Iterator instance.
This patch is not a major speed improvement, but should speed up things a tiny
bit...
Cheers,
kare@kare.uklinux.net
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>