You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use thread local decoder cache in Binary toStringUsingUTF8() #1531
In Binary toStringUsingUTF8(), new String(...) is slower because it instantiates a new Decoder, while Charset#decode uses a thread-local decoder cache, it is much faster.
ByteArraySliceBackedBinary is using Charset#decode, while, ByteArrayBackedBinary and ByteBufferBackedBinary are still using new String()
Activity
asfimport commentedon Aug 28, 2014
Julien Le Dem / @julienledem:
Thanks for submitting a patch.
This has been merged in
https://github.com/apache/incubator-parquet-mr/pull/40