Skip to content

Add bound check hint to mask first_set#523

Merged
calebzulawski merged 1 commit into
masterfrom
first-set-range
Apr 23, 2026
Merged

Add bound check hint to mask first_set#523
calebzulawski merged 1 commit into
masterfrom
first-set-range

Conversation

@calebzulawski
Copy link
Copy Markdown
Member

@calebzulawski calebzulawski commented Apr 23, 2026

Eliminates bound checks for something like vector[mask.first_set().unwrap()]. Fixes #522

@calebzulawski calebzulawski merged commit 9447da6 into master Apr 23, 2026
53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

first_set() does not come with enough index range info to eliminate bound checks when extracting lane

2 participants