with "if i == 7" branch misprediction in CPU happens much more often then with "if i == 49". Try to implement in the branchless way, it does help sometimes.
- Why is integer multiplication so slow here? Stefan_Salewski
- Re: Why is integer multiplication so slow here? Hlaaftana
- Re: Why is integer multiplication so slow here? cdome
- Re: Why is integer multiplication so slow her... Stefan_Salewski
- Re: Why is integer multiplication so slow... sleepyqt
- Re: Why is integer multiplication so... mratsim
- Re: Why is integer multiplicatio... Stefan_Salewski
