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

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Aug 8 15:20:08 CEST 2008


On Fri, 8 Aug 2008 14:57:36 +0200
"Henri Gourvest" <hgourvest at progdigy.com> wrote:

> > Because of this:
> > AVL_MAX_DEPTH = sizeof(longint) * 8;
> 
> = 32 in all cases, I know and It is not a problem.

At least not now. But eventually it should be changed to

AVL_MAX_DEPTH = sizeof(PtrInt) * 8;

Mattias



More information about the fpc-devel mailing list