breaking change: new API for cache, based on values (no more functors)
updated benchmarks for Cache, to use new API and fix a stupid issue