I've been disappointed in the performance of Java's inbuilt encode/
decode functions.
If you know that you have a single-byte character set, it's much much
much much much faster to simply look up bytes in a character-to-byte
array and look up characters in a byte-to-character array.
So no, the inbuilt functions are not optimized.
Craig
On Jan 4, 2012, at 8:28 AM, Pinaki Poddar wrote:
Is not there some URLencode()/decode() in-built Java library function?
Rolling out our own is OK, but I was just wondering...
-----
Pinaki Poddar
Chair, Apache OpenJPA Project
--
View this message in context:
http://openjpa.208410.n2.nabble.com/svn-commit-r1227170-openjpa-branches-2-1-x-openjpa-kernel-src-main-java-org-apache-openjpa-meta-Absta-tp7150666p7151042.html
Sent from the OpenJPA Commits mailing list archive at Nabble.com.
Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:[email protected]
P.S. A good JDO? O, Gasp!