aboutsummaryrefslogtreecommitdiff
path: root/crt/x32
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2024-05-06 17:13:23 -0400
committerRich Felker <dalias@aerifal.cx>2024-05-06 17:13:23 -0400
commit3f9d4224d8db7868b6c2f526746d597785d30c61 (patch)
tree29e628c78af5507e3200b06f0153162fc51aa926 /crt/x32
parenta23cf8f9c5ab8ff1e1742a68b352e58b9febbe4a (diff)
downloadmusl-3f9d4224d8db7868b6c2f526746d597785d30c61.zip
musl-3f9d4224d8db7868b6c2f526746d597785d30c61.tar.gz
musl-3f9d4224d8db7868b6c2f526746d597785d30c61.tar.bz2
printf decimal integer formatting: shave off one division
once the remaining value is less than 10, the modulo operation to produce the final digit and division to prepare for next loop iteration can be dropped. this may be a meaningful performance distinction when formatting low-magnitude numbers in bulk, and should never hurt. based on patch by Viktor Reznov.
Diffstat (limited to 'crt/x32')
0 files changed, 0 insertions, 0 deletions