emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: breadcrumbs for Info . . . . . .


From: Juri Linkov
Subject: Re: breadcrumbs for Info . . . . . .
Date: Sun, 15 Jun 2008 21:19:43 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu)

>    Even if the "cache" consisted only of a set of node+parent pairs
>    (regardless of the order among pairs), that would be sufficient.
>
> A slight twist on that data structure will give us a "reverse trie",
> which is a set of elements (NODE PARENT PARENT^2...), with elements'
> tails sharing storage (i.e, being other elements of the set).

This is too complex structure for shallow short trees of Info manuals.
Now the cache has the structure (NODE PARENT CHILDREN) that allows
optimal navigating the tree in both directions: bottom-up to build the
breadcrumbs, and top-down to build the TOC node.

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]