Remy Maucherat wrote:
[EMAIL PROTECTED] wrote:
+ Integer i = responseTransHash.get(header.toLowerCase(Locale.US));

-0. The String operations take away any benefit this could have.


Perhaps for CPU usage on the Tomcat, that is annihilated by the
lower processing on the mod_jk side. Also the network traffic is much lower.
The standard header having Content-Type, Content-Length and Date
is 30 bytes smaller.

If we can guarantee header names will always be in the proper
case, the toLowerCase can be omitted, or by using something
other to compare with array of string.

Regards,
Mladen.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to