Skip to content

Conversation

@TOTBWF
Copy link
Collaborator

@TOTBWF TOTBWF commented Sep 17, 2025

As noted by @4e554c4c, having both Vec.lookup and Vec.lookup-safe is a bit silly. We can get the best of both worlds by modifying Vec.lookup to only ever compute on the index.

@TOTBWF TOTBWF requested a review from plt-amy September 17, 2025 17:49
@Lavenza
Copy link
Member

Lavenza commented Sep 17, 2025

Pull request preview

Changed pages

Having both Vec.lookup and Vec.lookup-safe is a bit silly, and we can
get the best of both worlds by modifying Vec.lookup to only ever
compute on the index.

Suggested-by: Calvin Lee <[email protected]>
@plt-amy plt-amy enabled auto-merge (rebase) September 20, 2025 10:38
@plt-amy plt-amy merged commit ce31ca5 into main Sep 20, 2025
5 checks passed
@plt-amy plt-amy deleted the vec-lookup-fix branch September 20, 2025 10:54
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.

4 participants