Skip to main content
 

I can't believe that fundamental things like converting strings to character sets and back is so horribly horked in Java/OpenJDK to this day. A scalability / code style change I've been promoting turns out that it generates way too much overhead.

So I thought I'd see Android's implementation

https://cs.corp.google.com/#android/libcore/luni/src/main/java/java/lang/String.java

sooo much better. Optimized converters for the most common character sets implemented in native code.