Github user JoshRosen commented on the pull request:

    https://github.com/apache/spark/pull/6159#issuecomment-102183254
  
    Here's some benchmark code which builds a map with millions of records that 
have random 64-byte keys and values, then repeatedly iterates over the map and 
copies the keys and values into byte arrays: 
https://gist.github.com/JoshRosen/286b26494ab27e657051
    
    For this benchmark, I saw a nearly 10x improvement as a result of this 
patch.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to