Re:Speeding up function calls with lru_cache in Python
by ritter2a on Sunday June 28, 2020 @12:13PM
(#23669766)
Even in this version, the quote still feels incomplete without someone shouting "Concurrency!" while it is delivered...
Re:Speeding up function calls with lru_cache in Python
by SCLeo on Sunday June 28, 2020 @02:11PM
(#23670778)
Concurrency.""There are three hard things in computer science: cache invalidation, naming things, off-by-one errors, and
Re:Speeding up function calls with lru_cache in Python
by Immortal333 on Sunday June 28, 2020 @11:46AM
(#23669539)
Thanks for similar articles. I am aware of similar articles and that's why I have kept it short and simple. I will add these as references, later.
I have enjoyed reading Python Tricks[0] book by Dan bader (author of https://dbader.org/blog/python-memoization ). It's awesome. Might be outdated but I still recommend it to any body who has just started learning python.
Re:Speeding up function calls with lru_cache in Python
by asicsp on Sunday June 28, 2020 @11:46PM
(#23674160)
Hey, sorry if my post came off wrongly. In hindsight, I should've worded better, something like "similar articles for further reading".
Re:Speeding up function calls with lru_cache in Python
by fanf2 on Sunday June 28, 2020 @02:28PM
(#23670929)
That attribution is wrong - the mediawiki page links to Martin Fowler’s collection of quotes, where he says the off-by-one version came from Leon Bambrick https://twitter.com/secretgeek/status/7269997868?s=21
>"There are two hard things in computer science: cache invalidation, naming things, and off-by-one errors." – Martin Fowler
And there's plenty of similar articles, for example [1] [2]
[0] https://www.mediawiki.org/wiki/Naming_things
[1] https://dbader.org/blog/python-memoization
[2] https://mike.place/2016/memoization/