Hacker News new | past | comments | ask | show | jobs | submit login

People wouldn't optimize a shell like that anymore, but people still do encode small pieces of information into integers using bitwise operations when compactness is an advantage. If you're dealing with a large data structure with tens of millions (or billions) of entries, compact encoding still trumps convenience, because memory bandwidth will often be the bottleneck. A data structure that would benefit from a compact encoding could be a compiler's intermediate representation, for example.



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

Search: