aboutsummaryrefslogtreecommitdiffstats
path: root/skate/cmd
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-05-28 01:02:42 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-05-28 01:02:42 +0200
commit60f63250aac298b036b1887e18f9db76afdc6f66 (patch)
treece6fa2c25ad4ec6b0be4240ea0f992c698487484 /skate/cmd
parent56653efe99c699f93c123f07c39bc7e6ccd8c3eb (diff)
downloadrefcat-60f63250aac298b036b1887e18f9db76afdc6f66.tar.gz
refcat-60f63250aac298b036b1887e18f9db76afdc6f66.zip
include a date
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)
}