commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rand McNeely" <>
Subject [lang] [patch] Optimizations for Strings methods
Date Mon, 01 Jul 2002 06:31:06 GMT
> Some methods could be optimised:
> - capitalise
> - uncapitalise
> - overlayString

I worked on these optimizations basically replacing the string concats
with StringBuffers ensuring the correct capacity in the constructor.  I
have attached the patch.

Btw, as I am very new to open source, if I am making some faux pas here
please let me know so I can stop embarrassing myself :)


View raw message