[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45379: 28.0.50; Degraded Performance of describe-buffer-bindings
From: |
Eli Zaretskii |
Subject: |
bug#45379: 28.0.50; Degraded Performance of describe-buffer-bindings |
Date: |
Sun, 07 Mar 2021 10:38:19 +0200 |
> From: Stefan Kangas <stefan@marxist.se>
> Date: Sun, 7 Mar 2021 03:12:17 -0500
> Cc: styang@fastmail.com, juri@linkov.net, rudalics@gmx.at,
> 45379@debbugs.gnu.org, monnier@iro.umontreal.ca, stephen.berman@gmx.net
>
> > So could you please walk us through the proposed changes, adding
> > explanations for each part as you go?
>
> Yes. Please allow for at least a couple of days to write this up.
Sure. There's no rush, please take your time.
> > (And what do char-tables have to do with describing key bindings,
> > btw?)
>
> Full keymaps are char-tables, while sparse keymaps are just lists.
>
> The call stack looks like this:
>
> Fdescribe_buffer_bindings [keymap.c]
> -> describe-map-tree [help.el]
> -> describe-map
> -> Fhelp__describe_vector [keymap.c]
> -> describe_vector
Got it, thanks.