]> git.ipfire.org Git - thirdparty/coreutils.git/commit
factor: tweak gcd_odd performance
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 26 Sep 2024 00:42:13 +0000 (17:42 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 28 Sep 2024 00:42:58 +0000 (17:42 -0700)
commit9cc3e786e61fd9a3604beaf1b882e5c31a8592d1
treef1d91210ddafb9934f0faffc6866213b8f8025fe
parente3f3670c7e4525ccd7108d33d663987833c7ed8b
factor: tweak gcd_odd performance

* src/factor.c (gcd_odd): Use stdc_trailing_zeros instead of
counting zeros by hand.
src/factor.c