"Richard M. Stallman" <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> http://www.cua.dk



_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to