News for hackers. Stuff that matters.
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?
Re:100 more of those BITFIELDs by dxhdr on Friday February 26, 2016 @01:43PM (#11183141)
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?