]> git.eshelyaron.com Git - emacs.git/commit
Make object-intervals linear instead of quadratic
authorMattias EngdegÄrd <mattiase@acm.org>
Sun, 14 Jan 2024 11:50:36 +0000 (12:50 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sun, 14 Jan 2024 15:16:06 +0000 (16:16 +0100)
commit93c024735868ee1b2809932eea0483790fec98ba
tree454dc3084aa5085067cc1609152cc61fe88659ac
parentf1843e87b681fc3f71b8f6265b3f67642c6b5cbc
Make object-intervals linear instead of quadratic

* src/fns.c (collect_interval, Fobject_intervals):
Build the returned list in reverse instead of appending single
elements.

(cherry picked from commit cd0855cbd81b5fd3866c9a3242f0490c938b6d4d)
src/fns.c