[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: labeling of trees (was: Re: [Texmacs-dev] Cache profiling of TeXmacs
From: |
Joris van der Hoeven |
Subject: |
Re: labeling of trees (was: Re: [Texmacs-dev] Cache profiling of TeXmacs 1.0.3.9) |
Date: |
Fri, 21 May 2004 13:35:07 +0200 (CEST) |
On Fri, 21 May 2004, David MENTRE wrote:
> Joris van der Hoeven <address@hidden> writes:
> > Yes, this should certainly be considered sometime. In fact,
> > we might use symbols instead of strings as the labels of all trees.
> > That would make compairison much faster, even though usual string
> > operations like << on labels would become slower.
>
> I'm not sure I'm understanding what I'm speaking about but wouldn't it
> possible to use a 32 or 64 bits counter as identifier.
Yes, that is the idea, together with the use of a hash table.
Although this would probably speed up most operations on trees,
it might nevertheless occasionally slow things down.
Before making such a change, it would therefore be important
to well identify places in the code where we operate on strings
in an inline fashion (like when we use the << operator).
- Re: [Texmacs-dev] Cache profiling of TeXmacs 1.0.3.9, (continued)
- Re: [Texmacs-dev] Cache profiling of TeXmacs 1.0.3.9, David Allouche, 2004/05/20
- Re: [Texmacs-dev] Cache profiling of TeXmacs 1.0.3.9, David MENTRE, 2004/05/21
- Re: [Texmacs-dev] Cache profiling of TeXmacs 1.0.3.9, Joris van der Hoeven, 2004/05/21
- Re: [Texmacs-dev] Cache profiling of TeXmacs 1.0.3.9, David MENTRE, 2004/05/22
- [Texmacs-dev] Arch archive for libgc patch (was: Cache profiling), David Allouche, 2004/05/23
- Re: [Texmacs-dev] Arch archive for libgc patch, David MENTRE, 2004/05/23
- Re: [Texmacs-dev] Arch archive for libgc patch, David MENTRE, 2004/05/23
- Re: [Texmacs-dev] Arch archive for libgc patch, David Allouche, 2004/05/23
- Re: [Texmacs-dev] Cache profiling of TeXmacs 1.0.3.9, Joris van der Hoeven, 2004/05/21
- labeling of trees (was: Re: [Texmacs-dev] Cache profiling of TeXmacs 1.0.3.9), David MENTRE, 2004/05/21
- Re: labeling of trees (was: Re: [Texmacs-dev] Cache profiling of TeXmacs 1.0.3.9),
Joris van der Hoeven <=
- Re: [Texmacs-dev] Cache profiling of TeXmacs 1.0.3.9, David Allouche, 2004/05/23
- Re: [Texmacs-dev] Cache profiling of TeXmacs 1.0.3.9, Joris van der Hoeven, 2004/05/23
Re: [Texmacs-dev] Cache profiling of TeXmacs 1.0.3.9, skhilji, 2004/05/23