#hash-map #forget #shared-memory #time-to-live

memory

HashMap implementation with forget function

5 stable releases

1.1.3 Dec 10, 2023
1.1.2 Dec 9, 2023
1.0.0 Dec 9, 2023

#1 in #forget

40 downloads per month

MIT license

6KB
127 lines

Memory implementation

It is essentially a shared memory hash table with a time-to-live parameter.

You should periodically call the forget() method to perform garbage collection.

Dependencies

~1–7MB
~24K SLoC