netty5/codec-http/src
Guido Medina 6d7bed3431 TreeMap extra get operation removed.
Motivation:
Checking if a key exists on a TreeMap has a Big O of "log 2 N",
doing it twice is not cheap.

Modifications:
Get the key instead which has the same cost and check if it is null.

Result:
Faster code due to one expensive operation removed.
2016-04-25 09:48:39 -07:00
..
main/java/io/netty/handler/codec TreeMap extra get operation removed. 2016-04-25 09:48:39 -07:00
test Fix compile error introduced by 3046e9b78b 2016-04-12 16:36:23 +02:00