Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
arllk
· 1y ago · 0 comments
Even when passing the array as a borrow instead of a clone[1], map still auto-vectorizes and performs the new allocation in one go, avoiding the bounds check and possible calls to grow_one
[1]
https://godbolt.org/z/K9z6PvdYh
Comments
No comments yet.
Better HN