Comment Comment by Sharlin The mul-shift part is what any optimizing compiler does for known divisors and has done since the 90s, if anything it was more vital back then when the gap between div and mul was wider than today. parent Sharlin 2 days ago