by Someone · 11y ago · 0 comments
unsigned int64_t *datapoints;
Because of that, I think I would have combined two 5-valued fields (need 3 bits each) rating and user area into a single 25-valued one (fits in 5 bits), and stored the others as proper bit fields. That gains you the single bit you need to put each item in a 64 bit value, and only complicates accessing two of the fields.Also, I doubt he needed to pack below 64 bits, as the article states "which fits into 61 bits (8 bytes).".