-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Hi,
Thanks for your library and documentation. It's very nice to find a library which explains what and how it solves some cache performance issues.
I've fully understood how it works now. All my arguments are objects and there is no non weak mappable objects as arguments when I call my selector.
I still have an issue concerning a selector which compute a result from multiple sub selectors which return all non weak mappable object (all booleans), and have an error.
In your documentation, you mention to use an external cache object but I guess, it should not be a global object that will never be unreferenced as it cache will never be cleared.
If I understand well, it will be better to have a weak mappable object, which also have his lifecycle and will be garbage collected to have my values being cached while this object still exist.
Am I right?