ruricolist / serapeum

Utilities beyond Alexandria
MIT License
415 stars 41 forks source link

defmemo #144

Closed mattbeshara closed 1 year ago

mattbeshara commented 1 year ago

Hi there! I'd like to use memoization in some code I'm writing, and not wanting to import more libraries than is necessary, I did a grep for defmemo in my Quicklisp directory to see what I already had around which might provide it. It turned up the sample implementation of defmemo in Serapeum's README.md. It seems odd to me that, despite that implementation being present in the readme, it's not actually available as part of Serapeum itself. Should it be? Or would it be better for me to either copy/paste that sample implementation into my own code, or use another library which provides defmemo? Thanks for you time!

ruricolist commented 1 year ago

I would usually recommend fare-memoization.

mattbeshara commented 1 year ago

Great, thank you!