https://codereview.chromium.org/2137833002/ will introduce a QueryCache algorithm.
In some cases only one lookup is necessary (e.g., if a request is provided and ignoreSearch is false) instead of enumerating all of the cache entries. Optimize for those cases.
Then we can erase the Match() implementation and have it point to MatchAll() and return the first entry.
Comment 1 by jkarlin@chromium.org
, Jul 27 2016