Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
klysm
· 1y ago · 0 comments
You serialize the keys on every row which is a bit inefficient but it’s a text format anyway
Comments
[–]
zeroimpl
1y ago
Space-wise, as long as you compress it, it's not going to make any difference. I suspect a JSON parser is a bit slower than a CSV parser, but the slight extra CPU usage is probably worth the benefits that come with JSON.