Open bsa7 opened 2 years ago
FYI: Added this alert to the new memoist repo
[!IMPORTANT]
Recommendation
Consider using MemoWise instead, as it is maintained, fully tested, provides thread safety guarantees, and is much, much faster.
Other Alternatives
In case you need a tool with this feature set that is currently maintained, check out:
- https://github.com/makandra/memoized
- https://github.com/honzasterba/memoist
- https://github.com/AlexWayfer/alt_memery
[!TIP]
Seriously though, read the important note above.[!WARNING]
If you must continue - be aware that this is unmaintained software.
After the release of Ruby 3, the division into positional and named arguments has changed. Because of this, memoization of some functions became impossible.
This pull request addresses the compatibility issue and also adds coverage for some cases.