druid/extensions-core/datasketches
Gian Merlino 3ef5c2f2e8
Add MemoryOpenHashTable, a table similar to ByteBufferHashTable. (#9308)
* Add MemoryOpenHashTable, a table similar to ByteBufferHashTable.

With some key differences to improve speed and design simplicity:

1) Uses Memory rather than ByteBuffer for its backing storage.
2) Uses faster hashing and comparison routines (see HashTableUtils).
3) Capacity is always a power of two, allowing simpler design and more
   efficient implementation of findBucket.
4) Does not implement growability; instead, leaves that to its callers.
   The idea is this removes the need for subclasses, while still giving
   callers flexibility in how to handle table-full scenarios.

* Fix LGTM warnings.

* Adjust dependencies.

* Remove easymock from druid-benchmarks.

* Adjustments from review.

* Fix datasketches unit tests.

* Fix checkstyle.
2020-02-04 19:57:59 -08:00
..
src Add MemoryOpenHashTable, a table similar to ByteBufferHashTable. (#9308) 2020-02-04 19:57:59 -08:00
README.md Upgrade various build and doc links to https. (#7722) 2019-05-21 11:30:14 -07:00
pom.xml Set version to 0.18.0-SNAPSHOT (#9109) 2020-01-02 17:55:10 -05:00

README.md

This module provides Druid aggregators based on https://datasketches.github.io/.

Credits: This module is a result of feedback and work done by following people.

https://github.com/cheddar https://github.com/himanshug https://github.com/leerho https://github.com/will-lauer