perf: make precompiles accept and return Bytes
to reduce allocations
#1072
Labels
refactor
Refactor of the code
Bytes
to reduce allocations
#1072
Some precompiles (like
identity
, KZG point evaluation) can avoid allocating completely by re-using theCallInputs::input
Bytes
structure's allocation, or by returningBytes::from_static
when the return value is statically known at compile time.The text was updated successfully, but these errors were encountered: