2 ms·
"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
by fwip 6y ago
"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"