Function: consult--string-hash

consult--string-hash is a byte-compiled function defined in consult.el.

Signature

(consult--string-hash STRINGS)

Documentation

Create hash table from STRINGS.

Source Code

;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult.el
(defun consult--string-hash (strings)
  "Create hash table from STRINGS."
  (let ((ht (make-hash-table :test #'equal :size (length strings))))
    (dolist (str strings)
      (puthash str t ht))
    ht))