[dmd-internals] [D-Programming-Language/dmd] e644ba: restore original binary() function and re-fix the ...
GitHub
noreply at github.com
Sat Mar 24 20:11:02 PDT 2012
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: e644baa9ca35b05c978fc4d3ed4ffb07fd56bb33
https://github.com/D-Programming-Language/dmd/commit/e644baa9ca35b05c978fc4d3ed4ffb07fd56bb33
Author: Brad Roberts <braddr at puremagic.com>
Date: 2012-03-24 (Sat, 24 Mar 2012)
Changed paths:
M src/util.c
Log Message:
-----------
restore original binary() function and re-fix the new version
The previous optimization isn't valid when the input string is longer than the search len.
Efficiency is important enough to avoid the extra if so not forwarding the original version since it has one less conditional.
Commit: d10dbea992177e4b48f9cac925edc3f086f2e140
https://github.com/D-Programming-Language/dmd/commit/d10dbea992177e4b48f9cac925edc3f086f2e140
Author: Walter Bright <walter at walterbright.com>
Date: 2012-03-24 (Sat, 24 Mar 2012)
Changed paths:
M src/util.c
Log Message:
-----------
Merge pull request #837 from braddr/cleanup-backend2
restore original binary() function and re-fix the new version
Compare: https://github.com/D-Programming-Language/dmd/compare/7aacfaf...d10dbea
More information about the dmd-internals
mailing list