Two stack operations in crates/jet/src/builder/ops.rs go through heavier paths than necessary:
ops.rs:687 — POP: Calls the full stack_pop_1 helper even though the popped value is discarded. We could simply decrement the stack pointer.
ops.rs:792 — RETURN: Loads offset/size from the stack then stores them back into the return registers. Could be a direct copy skipping the intermediate load.
Two stack operations in
crates/jet/src/builder/ops.rsgo through heavier paths than necessary:ops.rs:687—POP: Calls the fullstack_pop_1helper even though the popped value is discarded. We could simply decrement the stack pointer.ops.rs:792—RETURN: Loadsoffset/sizefrom the stack then stores them back into the return registers. Could be a direct copy skipping the intermediate load.