]> git.eshelyaron.com Git - emacs.git/commit
Restore Emacs 27 image cache semantics
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 8 Dec 2020 23:42:06 +0000 (00:42 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 8 Dec 2020 23:42:11 +0000 (00:42 +0100)
commitac341cd629cfcf7e6e15321f8b53100cc6c0507f
treee47c4b026f34404de7339515835a51b02f4bf52b
parent67a9ecb4890872c288bda26e954e9c7629d709da
Restore Emacs 27 image cache semantics

* src/image.c (equal_lists): Remove.
(search_image_cache): Use Fequal instead of equal_lists.
Benchmarking shows no measurable time difference, and this
restores the cache semantics from Emacs 27 (where file names
didn't have to be EQ for the cache to be used).
src/image.c