netty5/codec-http/src
Guido Medina 5b59250657 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:49:05 -07:00
..
main/java/io/netty/handler/codec TreeMap extra get operation removed. 2016-04-25 09:49:05 -07:00
test Fix resource-leak which was reported as a result of commit 69070c37ba 2016-04-12 16:27:02 +02:00