[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: etags completion table
From: |
Stefan Monnier |
Subject: |
Re: etags completion table |
Date: |
Sat, 30 May 2015 00:00:35 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
>> I see the first patch says that it takes 1.34s to build the obarray and
>> 0.78s to build an equivalent list of strings, so we could change the
>> code so as to keep the completion table as a pre-built list of strings
>> instead of a pre-built obarray. It will also save us a bit of memory.
> Maybe. The difference isn't much, though, and it's a one-time thing.
Agreed. But the current use of an obarray is just wrong: it makes the
code use more CPU and memory resources for no benefit.
Stefan