4 ms·
Absolutely! Some of the examples, depending on the core architecture, could benefit from a table lookup, but all are good tools to have in the box.
by bcl 17y ago
Absolutely! Some of the examples, depending on the core architecture, could benefit from a table lookup, but all are good tools to have in the box.
- pkrumins 17y agoExactly! And you can get these questions even in job interviews. If you want to score the intervieews, then you better know the quick ways!
- ramchip 17y agoI like bit twiddling, but I'm not sure I'd take the job if a primary concern of the interviewer is whether I know the quick way to find the lowest-order bit in a 64-bit int...