belugabehr opened a new pull request #735:
URL: https://github.com/apache/orc/pull/735


   ### What changes were proposed in this pull request?
   When there is a collision adding a value into a StringHashTableDictionary, a 
temp Text object is created and then each value in the byte array is copied 
into the temp Text until a match is found (or worst-case scenario, a match is 
not found and every value is loaded).
   
   Instead of loading (copying) the values, just compare directly against the 
byte array without copying the data into a intermediate (temp) buffer.
   
   ### Why are the changes needed?
   Performance.
   
   ### How was this patch tested?
   No functionality change, utilized existing unit tests.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to