Mark,

On 3/19/14, 11:27 AM, ma...@apache.org wrote:
> Author: markt
> Date: Wed Mar 19 15:27:11 2014
> New Revision: 1579262
> 
> URL: http://svn.apache.org/r1579262
> Log:
> Improve processing of chuck size from chunked headers. Avoid overflow and use 
> a bit shift instead of a multiplication as it is marginally faster.

Bit-shifting is more than marginally faster than multiplication. 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.

-chris

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to