Re: Dual cache key calculation and build planning modes



Hi Tristan,
On 2017-07-05 10:05, Tristan Van Berkom wrote:
Premise
~~~~~~~
The premise is simply that every element has 2 cache keys generated at
all times.

I haven't had chance to follow all of the detail here, but isn't your 'weak' key just a hash of a subset of the same factors in for your 'strong' key?

In which case, would it be simpler and better to have one key which combines both?

foo.<hash(weak-factors)>.<hash(strong-factors - weak-factors)>

Then tooling can decide whether it cares about the whole key or just the 'weak' part?

br
Paul


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]