5b59250657
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. |
||
---|---|---|
.. | ||
src | ||
pom.xml |