[Lazarus] In search of a component for holding a table of strings
Mattias Gaertner
nc-gaertnma at netcologne.de
Tue Jan 10 14:34:53 CET 2017
On Tue, 10 Jan 2017 13:23:46 +0100
Bart via Lazarus <lazarus at lists.lazarus-ide.org> wrote:
> On 1/10/17, Werner Pamler via Lazarus <lazarus at lists.lazarus-ide.org> wrote:
>
> > If the author if the AVLTree is reading this: Is there a way to add a
> > group of nodes to the tree which are already ordered such that they will
> > be adjacent?
>
> I think that may not be possible. Your data may be ordered already,
> but that does not guerantee that there is not already data inside the
> tree that must be ordered "inside" the group you add?
Yes, the optimization only works if you insert a sequence between two
nodes. The new AddAscendingSequence checks that.
Mattias
More information about the Lazarus
mailing list