[Top][All Lists]

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

Re: where-is-internal question

From: Kim F. Storm
Subject: Re: where-is-internal question
Date: Thu, 08 Sep 2005 12:14:38 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"Richard M. Stallman" <address@hidden> writes:

>     IIRC, the problem probably is that with command remapping,
>     where-is-internal in 22.x has to lookup the key binding for each
>     command to see if it remapped -- in the normal case (where a command
>     only has a few bindings), the penalty is neglible, but for
>     self-insert-command specifically, that will be time consuming.
> Could you show me where the code is that does this?
> Maybe I can speed it up with some sort of memoization.

I really don't think this is necessary.

IMO lisp code should never use it like Drew's code did; with 22.x,
there are much more efficient ways to accomplish what he was doing.

Besides, I doubt you can find an efficient way to do memoization
for this case -- without making it even slower.

Kim F. Storm <address@hidden> http://www.cua.dk

reply via email to

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