> > > By letting canonizeString do the substring calls, but only when it > determines that it is needed, we can remove some unnecessary String and > byte[] allocations. >
While English is not my mother tongue, I'm thinking we could maybe let the Vatican deal with canonizations and rename this to the more appropriate "canonicalizeString"? Eirik.
