A simple cache for reusing arbitrary objects to minimize unnecessary allocation