redexer icon indicating copy to clipboard operation
redexer copied to clipboard

Dex API too leaky: tries length vs tries

Open kmicinski opened this issue 7 years ago • 0 comments

The Dex module presents a leaky API to the user: lots of record cells are mutable, which ends up being problematic when inserting items because there are necessarily implicit invariants. For example, the tries_size field has to be in sync with the length of tries. The API should be carefully redesigned so that this is more intuitive.

kmicinski avatar Apr 26 '17 22:04 kmicinski