#memory

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

#332 in Caching

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–6MB
~25K SLoC