News for hackers. Stuff that matters.
Re:FDA launches openFDA to provide easy access to valuable F... by _ciz9 on Wednesday June 04, 2014 @04:27AM (#7844576)
Good point! I always blindly assumed that removing whitespaces would lead to a decent size improvement, even after gzipping, so I ran a small test (gzip on linux, default parameters):

http://i.imgur.com/U1O4Xg5.png

The raw json contains the whitespaces, while they were removed in the minified json. So there is a 47% improvement for the uncompressed version, and a 21% improvement for the compressed version.

What would be interesting to see is how the second (compressed) number scales with the filesize (I don't know enough about compression algorithms to guess that).

EDIT: I really don't know how to format a table in plaintext...

There are no comments on this comment yet.