4 ms·
Great way to encode discrete answers for qualitative survey data. Reads are smoking fast.
by jksmith 9y ago
Great way to encode discrete answers for qualitative survey data. Reads are smoking fast.
- orixilus 9y agocould you please elaborate or give some example?
- jksmith 9y agoSure. 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.