--- In [email protected], Paul Herring <pauljherr...@...> wrote:
>
> On Thu, May 14, 2009 at 12:56 PM, mikejd42 <mikej...@...> 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.

Where is this hostility coming from? I suggest a perfectly valid bit of code 
and you take it upon yourself to slam me!

I am sorry that my doing a shift function upsets you so but it is valid code 
and 30 years of experience has provided me with the knowledge that it is 
efficient and optimum. It is not guessing. 

Paul:
  Please stay within the bounds of a friendly list here, calling people names, 
attacking their suggestions and dictating what they can and can not suggest is 
out of bounds.


> 
> 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
>


Reply via email to