diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-07-28 22:27:55 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-07-28 22:27:55 +0200 |
commit | fb48838586a031c6f72da2655bfde71dcf00c23d (patch) | |
tree | f3e1e4845ba13cb4101f81396ceac2205cfbd953 | |
parent | 86a4d2053ddf0c5e1bc4ebc707c89ad3f0f449ed (diff) | |
download | refcat-fb48838586a031c6f72da2655bfde71dcf00c23d.tar.gz refcat-fb48838586a031c6f72da2655bfde71dcf00c23d.zip |
reduce: remove log statements
-rw-r--r-- | skate/reduce.go | 4 |
1 files changed, 0 insertions, 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 { |