mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #6157 from ethereum/allocate-memory
Add allocateMemory helper with value known at compile time
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
======= gas_test_abiv2/input.sol:C =======
|
||||
Gas estimation:
|
||||
construction:
|
||||
1147 + 1103200 = 1104347
|
||||
1147 + 1103000 = 1104147
|
||||
external:
|
||||
a(): 530
|
||||
b(uint256): 1124
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
======= gas_test_abiv2_optimize_yul/input.sol:C =======
|
||||
Gas estimation:
|
||||
construction:
|
||||
651 + 617600 = 618251
|
||||
651 + 617400 = 618051
|
||||
external:
|
||||
a(): 429
|
||||
b(uint256): 887
|
||||
|
||||
Reference in New Issue
Block a user