News for hackers. Stuff that matters.
Re:Speeding up function calls with lru_cache in Python by fwip on Sunday June 28, 2020 @12:31PM (#23669920)
"python memoization in one line"

Edit: I don't actually have much of a problem with the article headline as it is now. It depends a lot on your target audience! For Hacker News, yeah, we know what memoization is because we learned it in CS 102, right after we learned about recursion.

But for a lot of people who would get the most value from the article, the word "memoization" isn't going to mean much, and wouldn't read the article.

Maybe something like: "Memoization in Python, or how I learned to speed up function calls in just one line"

There are no comments on this comment yet.