Strange how the string class ( which is final) has methods that do very neat find and replace. 
YET the stringBuilder class - that is something that is mutable only has simple find and replace operatoins. 
So if you wnat to do a find and replace on a large string java WANTS you to make a huge copy not operate in place. Perhaps the garbage collector needs more work.  
back to TMA.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment