[darcs-users] darcs patch: Refactor authors_cmd (darcs show authors).
Trent W.Buck
trentbuck at gmail.com
Sun May 17 11:59:59 UTC 2009
Yay for pointless time-wasting! The best part is, doing this exact
same refactoring before...
Sun May 17 21:53:25 EST 2009 Trent W. Buck <trentbuck at gmail.com>
* Refactor authors_cmd (darcs show authors).
Adds comments and avoids icky calling concatMap (uncurry replicate) on
[(count, canonicalized name)]. Improves speed of "darcs show authors"
by a whopping seven percent (fifteen milliseconds) and probably makes
the code a lot harder to understand (not to mention longer).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 70488 bytes
Desc: A darcs patch for your repository!
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20090517/33f46eef/attachment-0001.bin>
More information about the darcs-users
mailing list