projects
/
musl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
3f9ff15
)
slightly cleaner strlen, also seems to compile to better code
author
Rich Felker
<dalias@aerifal.cx>
Thu, 27 Sep 2012 20:56:33 +0000
(16:56 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Thu, 27 Sep 2012 20:56:33 +0000
(16:56 -0400)
testing with gcc 4.6.3 on x86, -Os, the old version does a duplicate
null byte check after the first loop. this is purely the compiler
being stupid, but the old code was also stupid and unintuitive in how
it expressed the check.
No differences found