Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
0.2
-
None
Description
One of the most consistent time-consuming spots of Thrift serialization and deserialization is string encoding. For some inscrutable reason, String.getBytes("UTF-8") is slow.
However, it's recently been brought to my attention that DataOutputStream's writeUTF method has a faster implementation of UTF-8 encoding and decoding. We should use this style of encoding.
Attachments
Attachments
Issue Links
- relates to
-
AVRO-532 Java: optimize Utf8#toString() and 'new Utf8(String)'
- Open