]> git.eshelyaron.com Git - emacs.git/commit
Tweak time arithmetic performance
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 4 Aug 2019 17:04:18 +0000 (10:04 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 4 Aug 2019 17:09:25 +0000 (10:09 -0700)
commit7748ef218cd7a9cffa984d165abe261cd60fae1a
treec5d26242ebbc69e808306743a875adc774a9cd73
parent5f3f3884a0d2a88101d330b82ef5b584cfc02aa6
Tweak time arithmetic performance

* src/timefns.c (lispint_arith): New function, which
should be a bit faster if B is 0, or if A is a bignum
and B a fixnum with absolute value in unsigned long range.
(time_arith): Use it.
src/timefns.c