memoized 2.2.0 copy "memoized: ^2.2.0" to clipboard
memoized: ^2.2.0 copied to clipboard

Decorators to cache returned values, it helps in reducing the execution time of the function by using LRU Caching.

2.2.0 #

  • Add new methods to Memoized.
    • isExpired, isNotComputedYet, isComputed

2.1.0 #

  • Removed the to_string_pretty package from the dependencies.
  • Follows Dart file conventions
  • Improves the document.

2.0.0 #

Breaking Changes #

  1. Updated the Dart SDK to version '>=3.0.0 <4.0.0'
  2. Migration to Dart 3.0's Record Feature: Transitioned the data structures to cache arguments from the tuples package to the new Record feature introduced in Dart 3.0.

1.5.0 #

  • Breaking: remove the deprecated methods Memoized.update and Memoized.requestUpdate.

1.4.7 #

  • Replace LRUCache with quiver.collection.LruMap

1.4.2 #

  • Update package description.

1.4.0 #

  • Remove: MemoizedAsync
  • Add
    1. Memoized 2, 3, 4, 5
    2. MemoizedN.expireAll()

1.0.0 #

  • Initial version.
11
likes
0
points
893
downloads

Publisher

verified publishersylfree.com

Weekly Downloads

Decorators to cache returned values, it helps in reducing the execution time of the function by using LRU Caching.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

quiver

More

Packages that depend on memoized