> From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
> Subject: Re: svn commit: r1579262 - in /tomcat/tc6.0.x/trunk:
> STATUS.txt java/org/apache/coyote/http11/filters/ChunkedInputFilter.java
> webapps/docs/changelog.xml

> Bit-shifting is more than marginally faster than multiplication.

Not so much on modern CPUs.

> If the compiler is good, it will notice multiplication against a
> static power of two and make the switch for you. I'm not sure if
> the Java compiler is that smart.

It is.

 - Chuck




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to