Author: markt
Date: Thu Mar 21 16:38:39 2013
New Revision: 1459390
URL: http://svn.apache.org/r1459390
Log:
Improve performance for typical use cases by roughly an order of magnitude
Modified:
tomcat/tc7.0.x/trunk/ (props changed)
tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/codec/binary/BaseNCodec.java
Propchange: tomcat/tc7.0.x/trunk/
------------------------------------------------------------------------------
Merged /tomcat/trunk:r1459389
Modified:
tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/codec/binary/BaseNCodec.java
URL:
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/codec/binary/BaseNCodec.java?rev=1459390&r1=1459389&r2=1459390&view=diff
==============================================================================
---
tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/codec/binary/BaseNCodec.java
(original)
+++
tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/codec/binary/BaseNCodec.java
Thu Mar 21 16:38:39 2013
@@ -140,7 +140,7 @@ public abstract class BaseNCodec impleme
* Defines the default buffer size - currently {@value}
* - must be large enough for at least one encoded block+separator
*/
- private static final int DEFAULT_BUFFER_SIZE = 8192;
+ private static final int DEFAULT_BUFFER_SIZE = 128;
/** Mask used to extract 8 bits, used in decoding bytes */
protected static final int MASK_8BITS = 0xff;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]