{
static struct match_t dummy;
struct match_t *reduced = &dummy, *sp, *tp;
- unsigned int retry, nonuniques;
+ unsigned int retry, nonuniques, progress;
struct sorthash_t *np;
/* build list of hashes with more than one range associated with */
- nonuniques = 0;
+ nonuniques = progress = 0;
+ fprintf(stderr, "%% Extracting duplicates... ");
for (np = obarray; np < obarray + hashcount; np++)
{
if (np < obarray + hashcount - 1 && !HASHCMP(np, np+1))
int i, heterogenous, nmatches;
struct sorthash_t *mp;
+ if (!debug && progress++ % 10000 == 0)
+ fprintf(stderr, "\b\b\b%02.0f%%", progress / (hashcount * 0.01));
+
/* count the number of hash matches */
nmatches = 1;
for (mp = np+1; mp < obarray + hashcount; mp++)
}
}
free(obarray);
+ fprintf(stderr, "\b\b\b100%% done.");
report_time("%d range groups after removing unique hashes", nonuniques);