Tweak use of in memory cache.
authorTilman Sauerbeck <tilman@code-monkey.de>
Sun, 11 Jun 2017 11:59:21 +0000 (13:59 +0200)
committers.golasch <s.golasch@telekom.de>
Sat, 5 Aug 2017 18:09:16 +0000 (20:09 +0200)
Previously we used to load the cache once to check if the requested
item was in there, and then another time to actually load it.

Combine both functions into one for less overhead.

Signed-off-by: s.golasch <s.golasch@telekom.de>

No differences found