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

Great way to encode discrete answers for qualitative survey data. Reads are smoking fast.


could you please elaborate or give some example?


Sure. Say you have 40k respondents in a survey who were each asked if they use toothpaste X (yes/no). Save all answers in 5k bytes, then map to any particular respondents answer by shifting right by 3 and checking remainder. Then test the bit you indexed to using the remainder. All fast operations.




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

Search: