projects
/
musl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
2b964b0
)
minor but worthwhile optimization in printf: avoid expensive strspn
author
Rich Felker
<dalias@aerifal.cx>
Sat, 11 Aug 2012 03:39:32 +0000
(23:39 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Sat, 11 Aug 2012 03:39:32 +0000
(23:39 -0400)
the strspn call was made for every format specifier and end-of-string,
even though the expected return value was 1-2 for normal usage.
replace with simple loop.
No differences found