> The point is that those 0.7 seconds (or whatever, on your machine) are
> almost all wasted time, not productive time. There is no reason to look
> up ~5000 bindings that are then ignored. If something useful were being
> done for that time, I wouldn't have filed a bug. To me, this is just extra
> fat that could easily be trimmed. Is there some reason not to do that?
Any such optimization would have to be at the cost of more complex code.
So there's always a trade-off between optimizing and keeping
code maintainable. In this specific case, you're talking about an
optimization that is only useful in 1 particular case, whereas the usual
rule is "optimize only the common case".
Of course, maybe there's a way to solve your problem without making the code
less maintainable, but it seems you're the only one with enough motivation
to do it, so if you provide a patch for it, we may consider it for
inclusion, but otherwise I think the problem will stay unsolved.
Stefan
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug