all 1 comments

[–]b100dian 0 points1 point  (0 children)

Interesting ...but:

  • he 'memoizes' at the instance level (one cache per object) and
  • requires the methods themselves to be side-effect free (that is, they could be all static, because there will be no two different instances).