tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: svn commit: r945231 - /tomcat/trunk/java/org/apache/tomcat/util/buf/ByteChunk.java
Date Mon, 17 May 2010 16:50:20 GMT
2010/5/17 Mark Thomas <markt@apache.org>:
>
> That's pretty ugly. Is there really no other way?
>

You mean, the named loop is ugly?

Or the old code?


I am a bit shivering looking at ([a++] != [b++]),
but I did minimal changes to fix the issue.


The code runs frequently, so I think/hope that somebody
has tried to optimize it for performance.

Best regards,
Konstantin Kolinko

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


Mime
View raw message