The Flyweight pattern is a special kind of Memoization where the memoized function is a constructor. This pattern is especially relevant in Scala for implicit conversions to RichFoo objects.

 
patterns/gofflyweight.txt · Last modified: 2010/02/11 09:10
 
Recent changes RSS feed Valid XHTML 1.0 Driven by DokuWiki