|
From: | Stefan |
Subject: | Re: imenu fails in mode without comment-start-skip defined |
Date: | Sun, 28 Nov 2004 18:57:43 -0500 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin) |
>> Python mode's Imenu code uses it (implicitly if I remember correctly). >> >> We cannot deduce any firm conclusion about the code >> in Imenu from that information. They may be different in other ways. > Well, it's easy to measure. Using syntax-ppss instead of the current > code makes imenu--make-index-alist 4 times faster when run on > simple.el (rather surprisingly). It's 50% slower than without any > check on the context. I.e. the current code with comment-beginning is 6 times slower than before? Sounds like a very good reason to remove this comment-beginning stuff, Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |