weak_map
WeakMap is a map where the keys are weakly referenced. WeakContainer lets you check if an object is the same you had before. Cache functions for memoization with weak-references.
4.0.1
48K downloads/mo
#1495 most downloaded on pub.dev
marcglasberg/weak_map
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Ships fairly regularly
a new release about every 5 months
Some releases are documented
notes for 13 of 24 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
25 releases · first in 2020
0 releases in the last 12 months
see the full history below
Release timeline
25 releases · May 2020 to Jan 2025Releases
latest 25-
4.0.106 Jan 2025 -
4.0.030 Oct 2024Nothing published for this version
-
3.0.124 Jan 2024 -
3.0.012 May 2023Nothing published for this version
-
2.1.013 Sep 2022Release notes
Open source →cache2states_3params((state1, state2) => (param1, param2, param3) => ...);
-
2.0.425 Dec 2021 -
2.0.320 Sep 2021Nothing published for this version
-
2.0.227 Apr 2021 -
2.0.126 Apr 2021Nothing published for this version
-
2.0.004 Mar 2021Release notes
Open source →- Cache functions with extra parameters.
- Rename of cache functions to make them easier to use.
Now, cache functions are:
cache1state((state) => () => ...); cache1state_1param((state) => (parameter) => ...); cache1state_2params((state) => (param1, param2) => ...); cache2states((state1, state2) => () => ...); cache2states_1param((state1, state2) => (parameter) => ...); cache2states_2params((state1, state2) => (param1, param2) => ...); cache3states((state1, state2, state3) => () => ...); cache1state_0params_x((state1, extra) => () => ...); cache2states_0params_x((state1, state2, extra) => () => ...); cache3states_0params_x((state1, state2, state3, extra) => () => ...); -
2.0.0-nullsafety.115 Feb 2021 pre-releaseNothing published for this version
-
1.3.111 Aug 2020 -
1.2.228 Jul 2020 -
1.2.112 Jun 2020 -
1.2.012 Jun 2020Nothing published for this version
-
1.1.226 May 2020 -
1.1.126 May 2020Nothing published for this version
-
1.1.026 May 2020Nothing published for this version
-
1.0.619 May 2020 -
1.0.519 May 2020Nothing published for this version
-
1.0.419 May 2020Nothing published for this version
-
1.0.319 May 2020Nothing published for this version
-
1.0.219 May 2020 -
1.0.119 May 2020Nothing published for this version
-
1.0.019 May 2020