[darcs-users] darcs patch: fpstring.c: switch a memchr for memrchr

Jason Dagit dagit at codersbase.com
Fri Apr 25 20:42:04 UTC 2008


On Fri, Apr 25, 2008 at 1:26 PM, Don Stewart <dons at galois.com> wrote:

> gwern0:
> > 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.
>
>

>
>
> memrchr isn't available on BSDs.


Furthermore, I didn't see enough tests in Gwern's bug update to convince me
that the difference in run-times is attributable to the use of memrchr.

Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osuosl.org/pipermail/darcs-users/attachments/20080425/9a487a71/attachment.htm 


More information about the darcs-users mailing list