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

Darn. By "compact", I thought there'd be some clever sparsity or compression to get below 1 bit/flag in common cases.


Apparently "compact" here refers to the five lines of actual code.

Just use <bitstring.h>.




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

Search: