Y
Hacker News
new
|
ask
|
show
|
jobs
by
diamondlovesyou
2424 days ago
You can just pass a reference/mut ref to the first element of the slice. This is actually how the generated kernels in my Rav1e PR do it, just for the aliasing reason you mentioned.