fuel-vm icon indicating copy to clipboard operation
fuel-vm copied to clipboard

[optimization] Skip receipt appending during predicate execution

Open Voxelot opened this issue 2 years ago • 0 comments

Receipts aren't available from predicates, however some opcodes like RET are allowed in a predicate context and will incur extra costs due to receipt merkleization (the result of which is just thrown away).

While predicates are unlikely to generate a significant number of receipts, removing this additional step would improve performance.

Voxelot avatar Sep 26 '23 01:09 Voxelot