[pallet-revive] change some getter APIs to return value in register (#6920)
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 <[email protected]> Signed-off-by: xermicus <[email protected]> Co-authored-by: command-bot <> Co-authored-by: Alexander Theißen <[email protected]>
parent
fd0fb765
Pipeline
#510020
waiting for manual action
with stages
in
1 hour, 7 minutes, and 4 seconds
Please register or sign in to comment