lru 1.0.2 copy "lru: ^1.0.2" to clipboard
lru: ^1.0.2 copied to clipboard

Cache based on least recently used eviction strategy with additional typed data support and weak cache layer.

1.0.2 #

  • Prevent infinite loop when LruTypedDataCache is incorrectly used with negative capacity.
  • Allow suboptimal caches with zero capacity. (Changed debug assertion. In release mode zero and negative capacities will result in useless cache, but won't crash the app nonetheless).
  • Update and add missing docs.
  • Update license years.

1.0.1 #

  • Explicitly return null to pass static checks.

1.0.0 #

  • Initial version.
3
likes
150
points
681
downloads

Documentation

API reference

Publisher

verified publishernull.moe

Weekly Downloads

Cache based on least recently used eviction strategy with additional typed data support and weak cache layer.

Repository (GitHub)
View/report issues

Topics

#cache #lru #data-structures

License

ISC (license)

Dependencies

meta, weak_cache

More

Packages that depend on lru