rehashinghashmap 0.1.2

A HashMap wrapper that shrinks to fit in small steps.
Documentation

Rehashing Hash Map

Build Status

A HashMap wrapper that shrinks to fit in small steps.

Why?

Some applications need a high availability and HashMap.shrink_to_fit is an expensive operation.

How?

Taking a hit in memory. A RehashingHashMap has two HashMap structs and when shrinking it moves the element from one to the other on every write operation taken.

When?

In situations where you want to claim the memory back after removing elements from a set, but you cannot take a big downtime.