Monthly Archives: April 2010

Faster string to UTF-8 encoding in Java

Update: It turns out that after further investigation, the performance improvements didn’t hold up when some uncovered correctness bugs forced some code changes. The patch was rolled back, so we’re stuck with the same old encoding mechanism. Sigh. I’ve spent a lot of time profiling Thrift serialization and deserialization, and one thing that has always stood [...]
Posted in Thrift | 3 Comments