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

Yeah, true. Still, one or more bytes of overhead per cell and row/column seems wasteful.



Fixed width formats are only efficient when everything in a column is a similar length. You only need a single 1000 char data value in a column to mean either the whole column is 1000 chars or the data is truncated.


Space efficient, that is.

Fixed width formats are pretty efficient for quick random access.

Btw, you can have a mostly fixed width format, but with an escape that puts larger value somewhere else. That's more or less what some relational databases are doing, I think.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: