Y
Hacker News
new
|
ask
|
show
|
jobs
by
asibahi
54 days ago
`local.tee` doesn't duplicate. it just doesn't remove the value from the stack. (so it is "just" `local.set` followed by `local.get`)
1 comments
thomasmg
53 days ago
Sure. But it does save you one instruction: "tee", "get" instead of "set", "get", "get".
link