* lisp/minibuffer.el (completion--get-lazy-hilit-re):
(completion--flex-get-completion-score): New functions.
(completion--flex-adjust-metadata): Use
completion--flex-get-completion-score.
(completion-lazy-hilit): Use completion--get-lazy-hilit-re.
(defvar completion--lazy-highlight-cache
(make-hash-table :weakness 'key))
-(defvar completion--score-map (make-hash-table :size (obarray-size obarray)))
+(defvar completion--score-map (make-hash-table :test 'eq))
(defun completion--get-lazy-hilit-re ()
"Helper for `completion-lazy-hilit'."