binaryen icon indicating copy to clipboard operation
binaryen copied to clipboard

[Stack Switching] Use move semantics for resume entries

Open jiang1997 opened this issue 2 months ago • 1 comments

Add rvalue reference overload for pushResumeEntry and apply std::move throughout suspend/resume operations to eliminate unnecessary copies.

jiang1997 avatar Nov 08 '25 21:11 jiang1997

Have you measured the benefit here? I'm curious because it isn't obvious to me (and seems to add a little complexity)

kripken avatar Nov 10 '25 21:11 kripken