commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Chaffee / Purple Technology <g...@stinky.com>
Subject Re: [LANG] Bugzilla id 17882
Date Fri, 14 Mar 2003 18:00:05 GMT
On Fri, Mar 14, 2003 at 12:34:56PM +0000, Henning P. Schmiedehausen wrote:
> Henri Yandell <bayard@generationjava.com> writes:
> 
> >Is there any reason why split/join are special?
> 
> I need them. :-) And splitting at a single char / joining with a
> single char as delimiter is needed very often and using '.' is more
> efficient than "."

I believe you, but I prefer clean interfaces to performance
optimizations.  If you run a quick performance test -- compare
splitting and joining, say, a 10-item and a 10000-item list both by
char and by String -- and post the results (or add them to the bug
report) it might help make your case.

-- 
Alex Chaffee                               mailto:alex@jguru.com
Purple Technology - Code and Consulting    http://www.purpletech.com/
jGuru - Java News and FAQs                 http://www.jguru.com/alex/
Gamelan - the Original Java site           http://www.gamelan.com/
Stinky - Art and Angst                     http://www.stinky.com/

---------------------------------------------------------------------
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