]> git.eshelyaron.com Git - emacs.git/commit
Speed up logcount on bignums
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 17 Aug 2018 02:53:21 +0000 (19:53 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 17 Aug 2018 02:54:30 +0000 (19:54 -0700)
commitbb7e0338919d1c7068a64b3855e50fac345e4e05
treec1ba8715847d5178de7fd07edde184cc0a2051a0
parent44ad4a15a0099285a16018ad790419cb60df5815
Speed up logcount on bignums

* src/data.c (Flogcount): Speed up by using the mpz equivalent
of ~X instead of -X-1.
src/data.c