Is (x*256) equivalent with (x
I have a piece of encrytion code in my framework which is used quite a lot.
When looking for tuning opportuinities I replaced int*256 quite often with int<<8 and performance is a lot better.
I wonder wether this is corrent in all cases or wether there are corner cases where this is not allowed?
Thank you in advance, lg Clemens