zeroshade commented on pull request #10716:
URL: https://github.com/apache/arrow/pull/10716#issuecomment-897881060


   Just to chime in one last piece on this: while it's extremely interesting 
that a custom hash table is performing better than Go's builtin map in many 
cases, remember that we're still talking in absolute terms about differences of 
between 1ms and 0.1ms, so unless you're using it in a tight loop with a TON of 
entries/lookups, you're probably better off using Go's builtin map just because 
it's a simpler implementation and built-in rather than having to use a custom 
hash table implementation with external dependencies as it'll be more than 
sufficiently performant in most cases, but for this low level handling for 
dictionary encoding in parquet, the performance can become significant on the 
scale that this will be used, making it preferable to use the custom 
implementation.


-- 
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