From fb48838586a031c6f72da2655bfde71dcf00c23d Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Wed, 28 Jul 2021 22:27:55 +0200 Subject: reduce: remove log statements --- skate/reduce.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/skate/reduce.go b/skate/reduce.go index ed8035d..1100e2f 100644 --- a/skate/reduce.go +++ b/skate/reduce.go @@ -456,7 +456,6 @@ func ZippyBrefAugment(bref, raw io.Reader, w io.Writer) error { if err != nil { return err } - log.Printf("found %v unique matches", len(matched)) var refs = make([]*Ref, len(g.G1)) for i := 0; i < len(refs); i++ { var ( @@ -470,15 +469,12 @@ func ZippyBrefAugment(bref, raw io.Reader, w io.Writer) error { } // TODO: this slows down this process; be a bit smarter about slices. matched = matchedRefsExtend(matched, refs, &stats) - log.Printf("matchedRefsExtend results in %d docs", len(matched)) // At this point, we may have duplicates by "_id", e.g. source // release ident and ref index (example: // 4kg2dejsgzaf3cszs2lt5hz4by_9, which appears three times, one // exact match, and twice unmatched). matched = deduplicateBrefs(matched) - log.Printf("deduplicateBrefs results in %d docs", len(matched)) matched = removeSelfLinks(matched) - log.Printf("removeSelfLinks results in %d docs", len(matched)) for _, bref := range matched { stats.total++ if err := enc.Encode(bref); err != nil { -- cgit v1.2.3