[fpc-devel] TAVLTree(avl_tree.pp) thread safety : second proposition

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Aug 7 18:24:14 CEST 2008


On Thu, 07 Aug 2008 18:04:32 +0200
Micha Nelissen <micha at neli.hopto.org> wrote:

> Inoussa OUEDRAOGO wrote:
> >  - TAVLManagedTree that uses a node mem manager provided in the
> > constructor. The developer using this one is _aware_ of the thread
> > safety issue and can then provide a thread safe node mem manager
> > for an instance exposed
> 
> What is exactly the add-on value for the node mem manager?

Only speed.
So it is only needed for such things like the codetools which can
create a million nodes. For xml is it probably not that important.

Mattias



More information about the fpc-devel mailing list