loading...

re: Increase the speed execution of your functions with memoization VIEW POST

FULL DISCUSSION
 

Great post, thanks. I would add that memoizing too early may be premature optimization 😉 but it's a great technique for highly-called functions

 

Totally agree. It could even worsen the performance for trivial functions in some cases where parameters are called in a unique way.

code of conduct - report abuse