[darcs-devel] [issue2587] proposal: "darcs check --hard" (or --invariants)

Ben Franksen bugs at darcs.net
Thu May 3 14:30:04 UTC 2018


Ben Franksen <ben.franksen at online.de> added the comment:

1. (no) duplicate PatchInfo

This should not need not be quadratic, only slightly super-linear:
traverse the complete inventory chain; for each patch calculate the meta
data hash and use it as key to accumulate the patch representation
hash(es) into a HashMap indexed by the meta data hash; finally traverse
the map and display any duplicates found.

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue2587>
__________________________________


More information about the darcs-devel mailing list