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=36584>.
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=36584





------- Additional Comments From [EMAIL PROTECTED]  2005-09-12 06:38 -------
First off, I am interested in this since StringUtils.replace is used heavily 
in my app, and if I loop through and call that in cases where multiple 
replaces are needed, then tons of Strings are created and collected.

I think there should be a method in StringUtils for this.  As to if StrBuilder 
could do a good job with this is a good question.  I have a feeling that 
keeping the same algorithm I use will not be possible with StrBuilder, though 
I am not sure.  If the method is in StringUtils does that mean it shouldnt use 
StrBuilder since that is a different package?  If not, let me know and I can 
research further.  I wrote a method to do this, and focused on performance (so 
it is a bit long winded).  If you think it is ok, lets add it to StringUtils.  
If you have comments or questions let me know and I can research and recode.  
I will add an attachment of the code and test cases.  Thanks!  Chris

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to