Closed vlad902 closed 3 years ago
Add CacheTable::replace_if() allowing the caller to specify a policy when to evict cache table entries. Note that unlike get(), this routine can pass default initialized entries to the caller to minimize branching.
This looks good to me. I can see the value here on transposition tables.
Add CacheTable::replace_if() allowing the caller to specify a policy when to evict cache table entries. Note that unlike get(), this routine can pass default initialized entries to the caller to minimize branching.