Re:100 more of those BITFIELDs
by bluedino on Friday February 26, 2016 @12:25PM
(#11182614)
Would like to see speed vs storage benchmarks. Bit twiddling must be a bit slow, no?
[ Parent
| on HN ]
The only slow operations these days are L3 cache misses and transcendental function calls, around 100 cycles each. Optimize for that, not a 1 CPU clock cycle "bit twiddle."
Re:100 more of those BITFIELDs
by JoachimSchipper on Sunday February 28, 2016 @10:18AM
(#11191075)
Computers are generally very good at bit-twiddling - why do you expect this to be slow?