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=30388>. 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=30388 Performance Increase by setting the initial ByteArrayOS length [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Target Milestone|--- |2.0 Final ------- Additional Comments From [EMAIL PROTECTED] 2004-08-08 13:48 ------- Mike, I would not call getResponseContentLength() method just to save a few bytes on the heap for a very short period of time. getResponseContentLength() can be very performance expensive requiring a hash table lookup and a string to int conversion. It's just not worth it. I also would not bother providing any kind of configuration mechanism for the default buffer size. It just does not seem to be worth the trouble Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]