Skip to content

Reduce growth factor from 4X to 2X. This saves a lot of memory, whilst retaining amortized growth

Alex Hornby requested to merge ahornby/chashmap:amortized_growth into master

Reduce growth factor set by LENGTH_MULTIPLIER from 4X to 2X. This saves a lot of memory for large maps, whilst retaining amortized growth when there are repeated inserts.

Tested with cargo test

Merge request reports