On Thu, May 14, 2009 at 12:56 PM, mikejd42 <[email protected]> wrote:
> Logically you want to shift right one. [...] > Far too many programmers are not trained to optimize and scrutinize their > code. You don't appear to be one of them however. The correct way to optimise is to use a profiler first, second and third, and only then when you think there is a problem with speed/memory. Guessing what is quicker without any metrics (as you appear to be reccomending, *especially* with your divide by two/shift one bit) is completely the wrong way to optimise. Please stop telling people to do it that way. -- PJH http://shabbleland.myminicity.com/com http://www.chavgangs.com/register.php?referer=9375
