Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Text formats are compressible because they waste a lot of space to encode data. Instead of the space of 256 values per byte they use maybe 100.


I assumed that is common knowledge here. The point is that you need to take that into account when discussing storage requirements.


So I guess it's also a common knowledge that a compressed stream needs to be uncompressed in order to use it. So argumenting that compressed stream takes smaller space on a floppy disk doesn't mean that it will also take the same amount of bytes in memory.

Also I'd argue if HTTP1 can be treated as a pure text format, since it requires \r and \n as EOL markers, even on systems that only use \n. Strict binary requirements like this shouldn't be needed if it was a text protocol.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: