/[Apache-SVN]
ViewVC logotype

Revision 939822


Jump to revision: Previous Next
Author: bryanduxbury
Date: Fri Apr 30 21:35:38 2010 UTC (14 years, 6 months ago)
Changed paths: 5
Log Message:
THRIFT-765. java: Improved string encoding and decoding performance

This patch fixes a regression caused by the previous 'fast' implementation, in particular, dealing with unicode characters that need to be encoded as surrogate pairs. The performance stays about the same.

Changed paths

Path Details
Directoryincubator/thrift/trunk/lib/java/src/org/apache/thrift/Utf8Helper.java modified , text changed
Directoryincubator/thrift/trunk/lib/java/src/org/apache/thrift/protocol/TBinaryProtocol.java modified , text changed
Directoryincubator/thrift/trunk/lib/java/src/org/apache/thrift/protocol/TCompactProtocol.java modified , text changed
Directoryincubator/thrift/trunk/lib/java/test/org/apache/thrift/BenchStringEncoding.java added
Directoryincubator/thrift/trunk/lib/java/test/org/apache/thrift/TestUtf8Helper.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26