Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nvartolomei
· 3y ago · 0 comments
dlemire, you note that the read ”overflows”. Why can’t you copy just `len` bytes? Does it slow too much because of the branch/more load/store operations?
Comments
[–]
xoranth
3y ago
It is slower since it actually calls `memcpy`, instead of doing a single load. E.g.
https://godbolt.org/z/5xa33qbar