aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorPaul Eggert2024-07-10 10:23:31 +0200
committerPaul Eggert2024-07-11 16:01:41 +0200
commitabafc6ca01444de7aad9856b4901aa82a68dff32 (patch)
treee93ca0808068bf57f19624bc5d727ac2676d2d25 /java
parent6ef052d9b23aef3f34d19e5d93d97884215d1465 (diff)
downloademacs-abafc6ca01444de7aad9856b4901aa82a68dff32.tar.gz
emacs-abafc6ca01444de7aad9856b4901aa82a68dff32.zip
In timefns, prefer ui mul and div
* src/timefns.c (ticks_hz_hz_ticks): If the multiplier is a fixnum that fits in unsigned long, use mpz_mul_ui instead of the more-expensive mpz_mul. Similarly, if the divisor is a fixnum that fits in unsigned long, use mpz_fdiv_q_ui instead of mpz_fdiv_q.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions