Memoization can be implemented as a function which takes a function as a parameter and returns a new function which when invoked the first time on some set of parameters will compute the result and when invoked with the same values will not recompute the result but will instead return the previously computed result.
Memorizations are not new, and have been blogged out for quite some time. Below is some simple code
that I and a colleague created for retrieving the State Of the World (SOW) of trades for populating a blotter.








