[darcs-users] darcs patch: fpstring.c: switch a memchr for memrchr (and 2 more)
gwern0 at gmail.com
gwern0 at gmail.com
Mon Apr 28 21:05:39 UTC 2008
Fri Apr 25 16:01:53 EDT 2008 gwern0 at gmail.com
* fpstring.c: switch a memchr for memrchr
See <http://bugs.darcs.net/issue814>; memrchr speeds up is_funky quite a bit and thus helps whatsnew -s. It doesn't seem to break (any more) tests.
Sun Apr 27 19:39:47 EDT 2008 gwern0 at gmail.com
* Diff.lhs: has_bin only inspects first 4096 characters
This is an optimization for large files, it saves running has_funky on gigs and gigs of data when pretty much all binary files give the truth away within a few characters.
Sun Apr 27 19:41:09 EDT 2008 gwern0 at gmail.com
* Diff.lhs, Prefs.lhs: add docs for 4096 optimization
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 15149 bytes
Desc: A darcs patch for your repository!
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20080428/ac4a8b20/attachment-0001.bin
More information about the darcs-users
mailing list