Wednesday, 18 July 2018

is Memorization and Cache function execution in javascript are same?

I recently had an interview where I was asked that how could you cache execution of any function? I heard about Functional Caching in Javascript only.

I checked on Stack overflow but not getting any idea from this.Is Memorization and Cache function execution is same or different thing?

I know Functional Caching in Javascript called Memorization that cache the result only not execution but what about Cache function execution?.



from is Memorization and Cache function execution in javascript are same?

No comments:

Post a Comment