From: Eric S. Raymond Date: Fri, 7 Jan 2005 17:15:48 +0000 (+0000) Subject: Document an edge case. X-Git-Tag: 2.7~2 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=d3c7055a4e11d1e9477e5772f68c194dbc095e39;p=comparator.git Document an edge case. --- diff --git a/comparator.xml b/comparator.xml index c1d2e58..ae4ba79 100644 --- a/comparator.xml +++ b/comparator.xml @@ -304,6 +304,11 @@ almost ridiculously fast on machines with enough core (the author has observed speeds of up to two million lines of code compared per minute on a 1.8GHz Intel box), but machines with small memories will thrash their guts out as the VM subsystem tries to cope. + +Comparing a directory to itself will show no similarities. This +is because the algorithm ignores matching shreds from within a +single directory, and it only knows which directory a shred came from +by relative pathname.