On 29/10/2011 19:08, Konstantin Kolinko wrote:
> I mean that there are two hashtable lookup operations in a row:
> 
> a) containsKey(key)
> b) get(key) if a) returned true
> 
> It can be replaced by calling b) once and testing whether its result is null.

Doh. Got it this time. I'll look at that tomorrow.

Mark

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

Reply via email to