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

if you store it with log2(n) you could easily store everything with a single byte. That brings the storage requirements down considerably. Though you still have huge issues with storage, not to mention input. For input you'd need 4096 combinations!


You can even do 2 numbers per byte (11 takes 4 bits).




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

Search: