openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <craig.russ...@oracle.com>
Subject Re: svn commit: r1227170 - /openjpa/branches/2.1.x/openjpa-kernel/src/main/java/org/apache/openjpa/meta/AbstractCFMetaDataFactory.java
Date Thu, 05 Jan 2012 02:16:25 GMT
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:Craig.Russell@oracle.com
P.S. A good JDO? O, Gasp!


Mime
View raw message