issues
search
QuarkChain
/
go-ethereum
Official Go implementation of the Ethereum protocol
https://geth.ethereum.org
GNU Lesser General Public License v3.0
5
stars
2
forks
source link
W3IP-4: add NoQuadMemoryGas
#71
Closed
qizhou
closed
2 years ago
qizhou
commented
2 years ago
Gas cost before:
Size (KB)
ChunNum
Gas cost
Diff
24
1
5,749,318
48
2
6,529,705
780,387
72
3
7,341,052
811,347
96
4
8,181,139
840,087
120
5
9,052,306
871,167
144
6
9,952,861
900,555
168
7
10,883,632
930,771
192
8
11,843,827
960,195
216
9
12,834,154
990,327
240
10
13,855,321
1,021,167
264
11
14,905,384
1,050,063
288
12
15,986,083
1,080,699
312
13
17,095,930
1,109,847
336
14
18,235,921
1,139,991
360
15
19,405,672
1,169,751
384
16
20,607,187
1,201,515
408
17
21,837,622
1,230,435
432
18
23,095,849
1,258,227
456
19
24,386,428
1,290,579
After: Size (KB)
ChunNum
Gas cost
Diff
24
1
5,724,606
48
2
6,468,672
744,066
72
3
7,204,620
735,948
96
4
7,939,356
734,736
120
5
8,675,208
735,852
144
6
9,410,508
735,300
Gas cost before: