Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Cache function reference when it's a single argument #35
Since the very first version, mem has a "cache if it's not a function AND not an object", which I don't understand because functions are can't be serialized via
In short (unless I'm drunk
I agree. Can you add a note about that in the readme? Just so we're clear about how it works. It might not be obvious to everyone that we cache the function reference too.