]> git.ipfire.org Git - thirdparty/coreutils.git/commit
factor: tune submod2
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 2 Jul 2025 21:46:00 +0000 (14:46 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Jul 2025 00:12:40 +0000 (17:12 -0700)
commit73bb62f7dfe25d9beac0cc5e8e55ad708f0dc5e5
tree5b280acf94c1b0a97b878d7d97a82d62b934cb63
parentb0c58a8b297d67f0a2a3ae5b8a2b3e8e70c32ad1
factor: tune submod2

* src/factor.c (submod2): Use ckd_sub to subtract by hand rather
than using sub_ddmmss plus a compare.  This speeds things up a
bit, on x86-64 with GCC 15 anyway.
src/factor.c