Forwarded from Блог*
#prog #rust #rustlib
schnellru — A fast and flexible LRU map
* Blazingly fast. Up to twice as fast as the
* Can be also used as an ordered map, with roughly the same performance as
* Customizable. Out-of-box can be limited by length or by memory usage, but supports custom limiters which can be made to limit the map by whatever you want.
* Tested, miri-clean, clippy-clean and fuzzed.
* Supports
schnellru — A fast and flexible LRU map
* Blazingly fast. Up to twice as fast as the
lru crate, and with less memory overhead.* Can be also used as an ordered map, with roughly the same performance as
indexmap, but with added support for O(1) removals without changing the element order (where indexmap only supports O(n) non-perturbing removals).* Customizable. Out-of-box can be limited by length or by memory usage, but supports custom limiters which can be made to limit the map by whatever you want.
* Tested, miri-clean, clippy-clean and fuzzed.
* Supports
no_std.