[darcs-users] darcs patch: resolve issue777: reduce memory usage of darcs put
Jason Dagit
dagit at codersbase.com
Wed May 21 18:32:35 UTC 2008
On Wed, May 21, 2008 at 11:18 AM, Reinier Lamers <tux_rocker at reinier.de>
wrote:
>
> Op 21-mei-2008, om 19:47 heeft zooko het volgende geschreven:
>
> > On May 21, 2008, at 11:28 AM, tux_rocker at reinier.de wrote:
> >
> >> Wed May 21 00:16:31 CEST 2008 tux_rocker at reinier.de
> >> * resolve issue777: reduce memory usage of darcs put
> >>
> >> I did it by creating an incremental version of the SHA-1
> >> function. I have to
> >> make some unit tests for it, because I don't trust such an
> >> important function
> >> without those.
> >
> > Cool!
> >
> > And you are wise to require unit tests for such a function.
> I made some and ran them, so I'm quite convinced now that the code is
> correct. I'll send a bottle of beer by mail to anyone who spots a bug
> in the code with his bare eye.
>
> But the QuickCheck framework appears to be in the src/Darcs/Patch
> directory (so specifically intended for the patch functions?). Is
> there anyone who would complain if I moved the QuickCheck tests to
> the src/ directory and added the SHA-1 tests?
Probably the easiest way is to try moving it and sending a patch. If anyone
objects we can figure out what to change to get it accepted.
And no, I wouldn't complain.
Thanks,
Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osuosl.org/pipermail/darcs-users/attachments/20080521/400a2d4a/attachment.htm
More information about the darcs-users
mailing list