diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-09-04 10:24:51 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-09-04 10:25:11 -0700 |
commit | 628f6a2c7a9fe476b7e71efed3a8f8784a00cc54 (patch) | |
tree | db0acf740fb86590b5be540e262cc6d0e3b79257 /src/floatfns.c | |
parent | 1d84e6523250ab6d14f40fba3922c56d7a40416f (diff) | |
download | emacs-628f6a2c7a9fe476b7e71efed3a8f8784a00cc54.tar.gz emacs-628f6a2c7a9fe476b7e71efed3a8f8784a00cc54.tar.bz2 emacs-628f6a2c7a9fe476b7e71efed3a8f8784a00cc54.zip |
Tweak nthcdr for bignum efficiency
* src/fns.c (Fnthcdr): Use mpz_tdiv_ui and mpz_tdiv_r
instead of mpz_mod_ui and mpz_mod, as they are more efficient.
Suggested by Pip Cet in:
https://lists.gnu.org/r/emacs-devel/2018-09/msg00073.html
Diffstat (limited to 'src/floatfns.c')
0 files changed, 0 insertions, 0 deletions