Cyrill Leutwiler
authored
Call data, return data and code sizes can never exceed `u32::MAX`; they are also not generic. Hence we know that they are guaranteed to always fit into a 64bit register and `revive` can just zero extend them into a 256bit integer value. Which is slightly more efficient than passing them on the stack. --------- Signed-off-by:Cyrill Leutwiler <bigcyrill@hotmail.com> Signed-off-by:
xermicus <cyrill@parity.io> Co-authored-by: command-bot <> Co-authored-by:
Alexander Theißen <alex.theissen@me.com>
Name | Last commit | Last update |
---|---|---|
.. | ||
benchmarking | ||
evm | ||
storage | ||
test_utils | ||
tests | ||
wasm | ||
address.rs | ||
chain_extension.rs | ||
debug.rs | ||
evm.rs | ||
exec.rs | ||
gas.rs | ||
lib.rs | ||
limits.rs | ||
primitives.rs | ||
storage.rs | ||
test_utils.rs | ||
tests.rs | ||
transient_storage.rs | ||
weights.rs |