News for hackers. Stuff that matters.
Re:Speeding up function calls with lru_cache in Python by gtm1260 on Sunday June 28, 2020 @01:46PM (#23670556)
I agree, I think of function call as the time it takes to copy the stack frame, setup variables, and move the program counter. I'm not sure that adding a decorator slows this down, but I suspect it does. A better title would just be 'add memoization in one line in python' or something.

There are no comments on this comment yet.