2016-10-04 13:33+0200, Igor Mammedov: > On Fri, 30 Sep 2016 18:10:13 +0200 > Radim Krčmář <rkrc...@redhat.com> wrote: >> Assume that KVM would have returned the same on subsequent runs. >> Abstract the memoizaiton pattern into macros. > s/memoi/memori/i > Throughout whole patch
The pattern I wanted to describe is known as "memoization" without r, due to reasons, https://en.wikipedia.org/wiki/Memoization, but I was expecting the whole idea to be nacked, so the naming didn't get much thought. :) I'll change it memorize, to create less confusion. (Memoizing a non-pure "function" is hacky anyway.) Thanks.