by youarentrightjr · 8mo ago · 0 comments
(emphasis mine)
Not at all true. Assuming the types are such that >> is equivalent to /, modern compilers will implement division by a power of two as a shift every single time.
Looking at the macro-level optimizations like the rest of the article does is significantly more interesting.