]> git.eshelyaron.com Git - emacs.git/commit
Improve time-equal-p etc. performance
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 1 Aug 2022 07:38:32 +0000 (00:38 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 1 Aug 2022 08:17:14 +0000 (01:17 -0700)
commit24e1123241b5692628de08e2de23448e07861111
tree32132d19b056e483e74f4dd52a890647530cf738
parent0a4477415c9df7d2cce8906155caadaa092b167e
Improve time-equal-p etc. performance

* src/timefns.c (time_cmp): Return EMACS_INT, not int; no need to
change callers.  Compare (X . Z) to (Y . Z) quickly if X and Y are
fixnums.
src/timefns.c