[fpc-devel] Unicodestring branch, please test and help fixing
Graeme Geldenhuys
graemeg.lists at gmail.com
Wed Sep 10 11:35:15 CEST 2008
On 9/10/08, Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:
>
> Please read the following...
>
> http://exciton.cs.rice.edu/JavaResources/DesignPatterns/FlyweightPattern.htm
>
> http://en.wikipedia.org/wiki/Flyweight_pattern
>
> Design Patterns - Elements of Reusable Object-Oriented Software
> (aka GOF book)
> "Most contemporary document editors don't use an object for every
> character, presumably for efficiency reasons. Calder demonstrated that
> this approach is feasible in his thesis [Cal93]. Calder's glyphs can
> be shared to reduce storage costs, thereby forming directed-acyclic
> graph structures. We can apply the Flyweight pattern to get the same
> effect." ― A Case Study (chapter)
>
> [Cal93] - Paul R. Calder. Building User Interfaces with Lightweight
> Objects. PhD thesis, Stanford University, 1993.
I forgot to add the reference to the Flyweight Pattern (falls under
Structural Patterns) on page 195 in GOF book.
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
More information about the fpc-devel
mailing list