You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The key to this implementation is that BinaryKey must have 2 constructors: a direct and a nondirect one. The direct one should be used on inserts into the hashtable, and the nondirect one for comparisons. In order to facilitate reuse of direct buffers, every put must first try to reuse the existing equivalent direct buffer already in the chm.
Keys are never GCed (although they can be in certain occaisions).
It'd be better to store just hashes in the chm, and do the collision detection/chaining off-heap.
The text was updated successfully, but these errors were encountered: