apache / apache/auron

JoinHashMap probe SIMD short-circuit optimization

Open
#2,160 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.8k
Forks
241
Avg merge
2d 14h
Merged PRs (30d)
22

Description

In `join_hash_map.rs` probe logic, both SIMD comparisons execute unconditionally:
```
let hash_matched = self.map[e].hashes.simd_eq(Simd::splat(hashes[i]));
let empty = self.map[e].hashes.simd_eq(Simd::splat(0)); // always runs
if let Some(pos) = (hash_matched | empty).first_set() { ... }
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.