commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
Subject [lang] padding optimisation
Date Wed, 16 Apr 2003 04:51:14 GMT

I've committed Robert Simpson's padding optimisation in. Speed-wise it
gets a big improvement. For single-character delimiters it stores a String
in static memory, but I figure String internalising means we're not really
using up much more memory.

Possibly it could be lazy-optimised. It creates a String[] of new
String[Character.MAX_VALUE] when the class is loaded.

Anyway, it's in.

Hen


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message