commit | 2b964b010e5d37cb2ff712d57a14095188d689e3 | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Fri Aug 10 23:39:32 2012 -0400 |
committer | Rich Felker <dalias@aerifal.cx> | Fri Aug 10 23:39:32 2012 -0400 |
tree | f45adf47882f54a7609420164e4a3b15dbeac55d | |
parent | 4c346919a9b238748de2ee85ce6d749fc3cf7059 [diff] |
minor but worthwhile optimization in printf: avoid expensive strspn 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.