←back to thread

3883 points kuroguro | 1 comments | | HN request time: 0.253s | source
Show context
tyingq ◴[] No.26296701[source]
"They’re parsing JSON. A whopping 10 megabytes worth of JSON with some 63k item entries."

Ahh. Modern software rocks.

replies(3): >>26296764 #>>26297102 #>>26297434 #
bombcar ◴[] No.26296764[source]
At least parse it into SQLite. Once.
replies(2): >>26297066 #>>26297149 #
tyingq ◴[] No.26297149[source]
I think just using a length encoded serialization format would have made this work reasonably fast.
replies(1): >>26297224 #
1. hobofan ◴[] No.26297224[source]
Or just any properly implemented JSON parser. That's a laughable small amount of JSON, which should easily be parsed in milliseconds.