Directly return the result of cache.pop(), which is the popped element
Merge pull request #1 from notlion/return-pop

Directly return the result of cache.pop()