Skip to content

Commit

Permalink
hamt: optimise representation
Browse files Browse the repository at this point in the history
* reduce the size implication case of collision:
    moving to just a pointer (Box) on the Entry type,
    as the case happens rarely
* reduce the size of normal Node to 20 bytes (without padding)
* allow storage control of K/V directly to prevent boxing of primitives type
  • Loading branch information
vincenthz committed Nov 20, 2019
1 parent 13c768f commit eabc622
Show file tree
Hide file tree
Showing 5 changed files with 296 additions and 461 deletions.
374 changes: 0 additions & 374 deletions imhamt/src/content.rs

This file was deleted.

Loading

0 comments on commit eabc622

Please sign in to comment.