aboutsummaryrefslogtreecommitdiffstats
path: root/skate/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'skate/cmd')
-rw-r--r--skate/cmd/skate-conv/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/skate/cmd/skate-conv/main.go b/skate/cmd/skate-conv/main.go
index f861cd0..7cbc9bb 100644
--- a/skate/cmd/skate-conv/main.go
+++ b/skate/cmd/skate-conv/main.go
@@ -31,7 +31,7 @@ var (
// map OL author key to author name, e.g. via: zstdcat -T0
// ol_dump_authors_latest.txt.zst | cut -f 5 | jq -rc '[.key, .name] |
// @tsv'
- openLibraryAuthorMap = make(map[string]string)
+ openLibraryAuthorMap = make(map[string]string, 8388608)
)
func main() {
@@ -52,8 +52,8 @@ func main() {
log.Fatal(err)
}
openLibraryAuthorMap = m
+ log.Printf("found: %v", len(openLibraryAuthorMap))
}
- log.Printf("author mapping: %v", len(openLibraryAuthorMap))
default:
log.Fatalf("unsupported input schema: %v", *fromFormat)
}