alexcrichton opened PR #5566 from optimize-wiggle
to main
:
I was working with @abrown today on some performance issues with
wiggle
and these are some of the conclusions that we reached. There's a fair amount of low-hanging fruit inwiggle
so this was roughly the time that we started picking!
alexcrichton requested abrown for a review on PR #5566.
alexcrichton has marked PR #5566 as ready for review.
abrown submitted PR review.
alexcrichton updated PR #5566 from optimize-wiggle
to main
.
alexcrichton has enabled auto merge for PR #5566.
bjorn3 submitted PR review.
bjorn3 created PR review comment:
It isn't AFAICT. You did need an atomic memcpy to prevent a data race, which rust doesn't currently provide. I believe there is an open RFC for it though and you can implement it in assembly.
alexcrichton merged PR #5566.
alexcrichton submitted PR review.
alexcrichton created PR review comment:
Personally I don't think this is a clear yes or no one way or the other. The documentation doesn't explicitly say anything, the documentation of LLVM about their memcpy intrinsic doesn't say anything to this effect, nor does
memcpy
-the-function say anything. The linked issue here is the best place to discuss this and its future resolution.
Last updated: Nov 22 2024 at 16:03 UTC