2 ms·
Just this week I has to query a JSON file that is 13-14 MB in size. I already had Node installed, so that it what I used. I was surprised that it was able to do
by irrational 5y ago
Just this week I has to query a JSON file that is 13-14 MB in size. I already had Node installed, so that it what I used. I was surprised that it was able to do the processing so fast that it was done as soon as I hit the enter key in the terminal window. And the processing wasn't trivial, it had to touch every single element of the entire JSON file and put the entire thing into a new data structure. I was quite impressed at how fast it was. It took my IDE about 5 minutes just to open the JSON file so I could take a look at it to see how it was structured.
- jamal-kumar 5y agoSounds like your IDE is a bit bloated. Not to tell you to stop using it or anything, that's a tall order - but next time you have a sufficiently large file (15mb shouldn't choke an editor?), try head/tail/less/more and you'll save those 5 minutes too