Hrvoje Niksic <hniksic(a)iskon.hr> writes:
> > > This patch will make C-h b a bit slower but more
> > How much slower?
> xemacs -vanilla
> (require 'time-date)
> (let ((start (time-to-seconds (current-time)))
> (i 10))
> (while (> i 0)
> (setq i (1- i)))
> (- (time-to-seconds (current-time)) start))
> With xref
> without xref
You mean the other way around: the slower time is the one _with_ xref,
Oops. Yes, it is.
Anyway, 9.5 seconds is a long time, especially compared to 1.87. I
think this calls for a more intelligent non-regexp-based solution.
I thought the same but describe-bindings-internal inserts
all keys and its commands. Unfortunately, it is a built-in
function. Hmm. I think I need function to return alist of
key and command.