]> git.eshelyaron.com Git - emacs.git/commit
Speed up sxhash-equal-including-properties
authorMattias Engdegård <mattiase@acm.org>
Sun, 14 Jan 2024 11:33:12 +0000 (12:33 +0100)
committerMattias Engdegård <mattiase@acm.org>
Sun, 14 Jan 2024 13:17:41 +0000 (14:17 +0100)
commit3869944bb4f9434e0c49063a291ed8a0a33cba50
tree7d513c624b4e760c0fedf06cbb55e484fb030276
parenta9cee9c6675a7002441bdd186402f45eb5379172
Speed up sxhash-equal-including-properties

This function now no longer conses at all.  Previously, it constructed
a list structure of all string intervals for the sole purpose of
hashing.

* src/fns.c (hash_interval): New.
(Fsxhash_equal_including_properties):
Use it instead of collect_interval.
src/fns.c