Memoization… And an example in IronPython(raine-tech.com)
submitted by
jrcalzada(70) 3 years, 1 month ago
Memoization is one of those programming techniques that makes an awful lot of sense in theory yet I almost never see in practice. For those not familiar with the term, memoization refers to maintaining a store of function results so that when a function is invoked several times with the same arguments the result can just be retrieved from the store instead of being computed every single time.
|category: Tips & Tricks
|Views: 8
tags:
Tips another
Everyones tags:
Your Tags: