Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/comp_cache.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,10 @@ class CompCache final: public CompCacheIF {
uint32_t table_ofs = (uint32_t)comp.get_hashkey() & tbl_size_mask;
CacheEntryID act_id = table[table_ofs];
if (!act_id) return false;

// LINEAR PROBING through collision chain
while(act_id){
__builtin_prefetch(entry_base.data() + entry(act_id).next_bucket_element());
if (entry(act_id).equals(comp)) {
stats.incorporate_cache_hit(nvars);
switch(conf.cache_time_update) {
Expand Down
Loading