-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
help wantedThis issue is generally accepted and needs someone to pick it upThis issue is generally accepted and needs someone to pick it upkind:featureperformancetopic:stdlib
Description
Crystal Hash(K, V) should be reimplemented using open addressing and powers of two.
To be read:
- http://www.idryman.org/blog/2017/05/03/writing-a-damn-fast-hash-table-with-tiny-memory-footprints/.
- https://github.com/konovod/testhash
- https://github.com/yxhuvud/crystal-hash
- https://developers.redhat.com/blog/2017/02/27/towards-faster-ruby-hash-tables/
- (sometimes 508) http://blog.redpanthers.co/behind-scenes-hash-table-performance-ruby-2-4
Thanks to @RX14, @konovod, @yxhuvud for links.
Refs #2817, #3932, #2331 and #4033 (comment) to continue discussion and implementation.
Metadata
Metadata
Assignees
Labels
help wantedThis issue is generally accepted and needs someone to pick it upThis issue is generally accepted and needs someone to pick it upkind:featureperformancetopic:stdlib