in_memory_store 2.0.0 copy "in_memory_store: ^2.0.0" to clipboard
in_memory_store: ^2.0.0 copied to clipboard

A high-performance, in-memory data store for Dart with LRU eviction, batch operations, and optimized memory management for large datasets.

2.0.0 #

Breaking Changes #

  • Constructor signatures updated with new optional parameters

New Features #

  • LRU eviction with configurable memory limits
  • Batch operations: insertAll() and removeAll()
  • forLargeDatasets() constructor for high-performance use cases
  • Memory usage statistics via stats getter
  • dispose() method for cleanup

Performance Improvements #

  • Single cleanup timer instead of per-entry timers
  • Better performance for bulk operations
  • Support for 100K+ entries

Bug Fixes #

  • Fixed timer leaks with rapid insertions
  • Improved expiry handling accuracy

1.0.1 #

  • Improve key expiry mechanism by replacing Future.delayed with cancellable Timer.

1.0.0 #

  • Initial Version of the library.
5
likes
160
points
36
downloads

Publisher

unverified uploader

Weekly Downloads

A high-performance, in-memory data store for Dart with LRU eviction, batch operations, and optimized memory management for large datasets.

Repository (GitHub)
View/report issues

Topics

#cache #memory #performance #large-datasets #lru

Documentation

API reference

License

MIT (license)

Dependencies

collection

More

Packages that depend on in_memory_store