branch: externals/marginalia commit 7d9c6aa0b83623e4811c73b96ef02e5d5acbf6a8 Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@daniel-mendler.de>
binding hash: specify larger initial size --- marginalia.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/marginalia.el b/marginalia.el index 73a11a3..6b0a71e 100644 --- a/marginalia.el +++ b/marginalia.el @@ -310,7 +310,7 @@ This hash table is needed to speed up `marginalia-annotate-binding'.") ;; collecting pauses when interacting with the minibuffer. See ;; https://github.com/minad/marginalia/issues/16. (unless marginalia--annotate-binding-hash - (setq marginalia--annotate-binding-hash (make-hash-table)) + (setq marginalia--annotate-binding-hash (make-hash-table :size 1025)) (mapatoms (lambda (sym) (when-let (key (and (commandp sym) (where-is-internal sym nil t))) (puthash sym key marginalia--annotate-binding-hash)))))