Skip to content Skip to sidebar Skip to footer
Showing posts with the label Memoization

Why Does This Memoization Implementation Work On Anonymous Functions But Not Work On Declared Functions?

I'm trying to use memoization to optimize an explicitly self recursive implementation of the Fi… Read more Why Does This Memoization Implementation Work On Anonymous Functions But Not Work On Declared Functions?

Memoize Implementation Using Eval. Is This Use Of Eval Acceptable?

...or are there better ways to implement a Memoization? Function.memoize = function(callableAsStrin… Read more Memoize Implementation Using Eval. Is This Use Of Eval Acceptable?