News for hackers. Stuff that matters.
Re:Absolute Beginner's Guide to Bit Shifting by dpark on Sunday March 04, 2012 @05:57PM (#3664460)
You're reading it backwards.

> A good optimizing compiler will substitute shifts for multiplications when possible.

"substitute shifts for multiplications" means that multiplications will be replaced with shifts.

The wordier phrase would be "substitute with shifts for multiplications" or "substitute for multiplications with shifts".

There are no comments on this comment yet.