From 0f65e17b7baa5356d254e93320383f71038ac810 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Wed, 9 Nov 2022 10:20:37 +0100 Subject: [PATCH] Update tests --- .../array/byte_array_storage_layout.sol | 4 ++-- .../array/byte_array_transitional_2.sol | 6 ++--- .../copying/array_copy_cleanup_uint40.sol | 6 ++--- .../copying/array_copy_clear_storage.sol | 6 ++--- .../copying/array_copy_including_array.sol | 12 +++++----- ...ay_copy_storage_storage_different_base.sol | 6 ++--- ..._storage_storage_different_base_nested.sol | 6 ++--- ...y_copy_storage_storage_dynamic_dynamic.sol | 6 ++--- ...ray_copy_storage_storage_static_static.sol | 6 ++--- .../array_copy_storage_storage_struct.sol | 6 ++--- .../copying/array_copy_target_leftover.sol | 6 ++--- .../copying/array_copy_target_simple.sol | 6 ++--- .../copying/array_copy_target_simple_2.sol | 6 ++--- .../array_nested_memory_to_storage.sol | 6 ++--- .../copy_byte_array_in_struct_to_storage.sol | 6 ++--- .../copying/copy_byte_array_to_storage.sol | 6 ++--- .../function_type_array_to_storage.sol | 6 ++--- .../array/pop/array_pop_array_transition.sol | 6 ++--- .../array/pop/array_pop_uint16_transition.sol | 6 ++--- .../array/pop/array_pop_uint24_transition.sol | 6 ++--- .../array/pop/byte_array_pop_copy_long.sol | 4 ++-- .../pop/byte_array_pop_long_storage_empty.sol | 6 ++--- ...ray_pop_long_storage_empty_garbage_ref.sol | 6 ++--- .../struct_delete_storage_with_array.sol | 12 +++++----- .../viaYul/array_storage_index_access.sol | 24 +++++++++---------- .../array_storage_index_zeroed_test.sol | 24 +++++++++---------- .../viaYul/array_storage_push_pop.sol | 12 +++++----- 27 files changed, 106 insertions(+), 106 deletions(-) diff --git a/test/libsolidity/semanticTests/array/byte_array_storage_layout.sol b/test/libsolidity/semanticTests/array/byte_array_storage_layout.sol index 8c899d218..bb1e904f0 100644 --- a/test/libsolidity/semanticTests/array/byte_array_storage_layout.sol +++ b/test/libsolidity/semanticTests/array/byte_array_storage_layout.sol @@ -46,8 +46,8 @@ contract c { // storageEmpty -> 0 // test_long() -> 67 // gas irOptimized: 89148 -// gas legacy: 108639 -// gas legacyOptimized: 106093 +// gas legacy: 105839 +// gas legacyOptimized: 103293 // storageEmpty -> 0 // test_pop() -> 1780731860627700044960722568376592200742329637303199754547598369979433020 // gas legacy: 61930 diff --git a/test/libsolidity/semanticTests/array/byte_array_transitional_2.sol b/test/libsolidity/semanticTests/array/byte_array_transitional_2.sol index 5fdaca65b..2165483ec 100644 --- a/test/libsolidity/semanticTests/array/byte_array_transitional_2.sol +++ b/test/libsolidity/semanticTests/array/byte_array_transitional_2.sol @@ -17,6 +17,6 @@ contract c { } // ---- // test() -> 0 -// gas irOptimized: 157188 -// gas legacy: 188576 -// gas legacyOptimized: 183333 +// gas irOptimized: 125751 +// gas legacy: 150861 +// gas legacyOptimized: 146667 diff --git a/test/libsolidity/semanticTests/array/copying/array_copy_cleanup_uint40.sol b/test/libsolidity/semanticTests/array/copying/array_copy_cleanup_uint40.sol index a6f805d00..88506585e 100644 --- a/test/libsolidity/semanticTests/array/copying/array_copy_cleanup_uint40.sol +++ b/test/libsolidity/semanticTests/array/copying/array_copy_cleanup_uint40.sol @@ -46,6 +46,6 @@ contract C { } // ---- // f() -> true -// gas irOptimized: 146756 -// gas legacy: 155961 -// gas legacyOptimized: 153588 +// gas irOptimized: 117405 +// gas legacy: 124769 +// gas legacyOptimized: 122871 diff --git a/test/libsolidity/semanticTests/array/copying/array_copy_clear_storage.sol b/test/libsolidity/semanticTests/array/copying/array_copy_clear_storage.sol index 416b48968..27f687360 100644 --- a/test/libsolidity/semanticTests/array/copying/array_copy_clear_storage.sol +++ b/test/libsolidity/semanticTests/array/copying/array_copy_clear_storage.sol @@ -13,6 +13,6 @@ contract C { } // ---- // f() -> 0 -// gas irOptimized: 134365 -// gas legacy: 135313 -// gas legacyOptimized: 134548 +// gas irOptimized: 107492 +// gas legacy: 108251 +// gas legacyOptimized: 107639 diff --git a/test/libsolidity/semanticTests/array/copying/array_copy_including_array.sol b/test/libsolidity/semanticTests/array/copying/array_copy_including_array.sol index 6d3da418d..1599f0d35 100644 --- a/test/libsolidity/semanticTests/array/copying/array_copy_including_array.sol +++ b/test/libsolidity/semanticTests/array/copying/array_copy_including_array.sol @@ -35,12 +35,12 @@ contract c { } // ---- // test() -> 0x02000202 -// gas irOptimized: 4649835 -// gas legacy: 4578446 -// gas legacyOptimized: 4548309 +// gas irOptimized: 4550335 +// gas legacy: 4478946 +// gas legacyOptimized: 4448809 // storageEmpty -> 1 // clear() -> 0, 0 -// gas irOptimized: 4517023 -// gas legacy: 4450548 -// gas legacyOptimized: 4422289 +// gas irOptimized: 4477223 +// gas legacy: 4410748 +// gas legacyOptimized: 4382489 // storageEmpty -> 1 diff --git a/test/libsolidity/semanticTests/array/copying/array_copy_storage_storage_different_base.sol b/test/libsolidity/semanticTests/array/copying/array_copy_storage_storage_different_base.sol index 92d750a6e..ed8e2746e 100644 --- a/test/libsolidity/semanticTests/array/copying/array_copy_storage_storage_different_base.sol +++ b/test/libsolidity/semanticTests/array/copying/array_copy_storage_storage_different_base.sol @@ -17,6 +17,6 @@ contract c { } // ---- // test() -> 5, 4 -// gas irOptimized: 224973 -// gas legacy: 233801 -// gas legacyOptimized: 232816 +// gas irOptimized: 205073 +// gas legacy: 213901 +// gas legacyOptimized: 212916 diff --git a/test/libsolidity/semanticTests/array/copying/array_copy_storage_storage_different_base_nested.sol b/test/libsolidity/semanticTests/array/copying/array_copy_storage_storage_different_base_nested.sol index ad7c08019..960343916 100644 --- a/test/libsolidity/semanticTests/array/copying/array_copy_storage_storage_different_base_nested.sol +++ b/test/libsolidity/semanticTests/array/copying/array_copy_storage_storage_different_base_nested.sol @@ -23,6 +23,6 @@ contract c { // compileToEwasm: also // ---- // test() -> 3, 4 -// gas irOptimized: 189516 -// gas legacy: 215253 -// gas legacyOptimized: 212341 +// gas irOptimized: 169616 +// gas legacy: 175453 +// gas legacyOptimized: 172541 diff --git a/test/libsolidity/semanticTests/array/copying/array_copy_storage_storage_dynamic_dynamic.sol b/test/libsolidity/semanticTests/array/copying/array_copy_storage_storage_dynamic_dynamic.sol index 6910fa80a..749b70417 100644 --- a/test/libsolidity/semanticTests/array/copying/array_copy_storage_storage_dynamic_dynamic.sol +++ b/test/libsolidity/semanticTests/array/copying/array_copy_storage_storage_dynamic_dynamic.sol @@ -18,6 +18,6 @@ contract c { // ---- // test() -> 5, 4 -// gas irOptimized: 272893 -// gas legacy: 270834 -// gas legacyOptimized: 269960 +// gas irOptimized: 252993 +// gas legacy: 250934 +// gas legacyOptimized: 250060 diff --git a/test/libsolidity/semanticTests/array/copying/array_copy_storage_storage_static_static.sol b/test/libsolidity/semanticTests/array/copying/array_copy_storage_storage_static_static.sol index 8f6dd822d..3f74616c2 100644 --- a/test/libsolidity/semanticTests/array/copying/array_copy_storage_storage_static_static.sol +++ b/test/libsolidity/semanticTests/array/copying/array_copy_storage_storage_static_static.sol @@ -17,6 +17,6 @@ contract c { // compileToEwasm: also // ---- // test() -> 8, 0 -// gas irOptimized: 236079 -// gas legacy: 234695 -// gas legacyOptimized: 234103 +// gas irOptimized: 196279 +// gas legacy: 194895 +// gas legacyOptimized: 194303 diff --git a/test/libsolidity/semanticTests/array/copying/array_copy_storage_storage_struct.sol b/test/libsolidity/semanticTests/array/copying/array_copy_storage_storage_struct.sol index 3fc10b7a2..c42b67998 100644 --- a/test/libsolidity/semanticTests/array/copying/array_copy_storage_storage_struct.sol +++ b/test/libsolidity/semanticTests/array/copying/array_copy_storage_storage_struct.sol @@ -17,7 +17,7 @@ contract c { } // ---- // test() -> 4, 5 -// gas irOptimized: 238623 -// gas legacy: 238736 -// gas legacyOptimized: 237159 +// gas irOptimized: 190899 +// gas legacy: 190989 +// gas legacyOptimized: 189728 // storageEmpty -> 1 diff --git a/test/libsolidity/semanticTests/array/copying/array_copy_target_leftover.sol b/test/libsolidity/semanticTests/array/copying/array_copy_target_leftover.sol index 0a4ac31da..fa73987bf 100644 --- a/test/libsolidity/semanticTests/array/copying/array_copy_target_leftover.sol +++ b/test/libsolidity/semanticTests/array/copying/array_copy_target_leftover.sol @@ -19,6 +19,6 @@ contract c { // compileToEwasm: also // ---- // test() -> 0xffffffff, 0x0000000000000000000000000a00090008000700060005000400030002000100, 0x0000000000000000000000000000000000000000000000000000000000000000 -// gas irOptimized: 124640 -// gas legacy: 187414 -// gas legacyOptimized: 165659 +// gas irOptimized: 104740 +// gas legacy: 167514 +// gas legacyOptimized: 145759 diff --git a/test/libsolidity/semanticTests/array/copying/array_copy_target_simple.sol b/test/libsolidity/semanticTests/array/copying/array_copy_target_simple.sol index bc89a904a..fb0e49b47 100644 --- a/test/libsolidity/semanticTests/array/copying/array_copy_target_simple.sol +++ b/test/libsolidity/semanticTests/array/copying/array_copy_target_simple.sol @@ -21,6 +21,6 @@ contract c { // compileToEwasm: also // ---- // test() -> 0x01000000000000000000000000000000000000000000000000, 0x02000000000000000000000000000000000000000000000000, 0x03000000000000000000000000000000000000000000000000, 0x04000000000000000000000000000000000000000000000000, 0x0 -// gas irOptimized: 293486 -// gas legacy: 303626 -// gas legacyOptimized: 301945 +// gas irOptimized: 273586 +// gas legacy: 283726 +// gas legacyOptimized: 282045 diff --git a/test/libsolidity/semanticTests/array/copying/array_copy_target_simple_2.sol b/test/libsolidity/semanticTests/array/copying/array_copy_target_simple_2.sol index 554d6b820..c4ffe543f 100644 --- a/test/libsolidity/semanticTests/array/copying/array_copy_target_simple_2.sol +++ b/test/libsolidity/semanticTests/array/copying/array_copy_target_simple_2.sol @@ -21,6 +21,6 @@ contract c { // compileToEwasm: also // ---- // test() -> 0x01000000000000000000000000000000000000000000000000, 0x02000000000000000000000000000000000000000000000000, 0x03000000000000000000000000000000000000000000000000, 0x04000000000000000000000000000000000000000000000000, 0x00 -// gas irOptimized: 273093 -// gas legacy: 276360 -// gas legacyOptimized: 275411 +// gas irOptimized: 233293 +// gas legacy: 236560 +// gas legacyOptimized: 235611 diff --git a/test/libsolidity/semanticTests/array/copying/array_nested_memory_to_storage.sol b/test/libsolidity/semanticTests/array/copying/array_nested_memory_to_storage.sol index f13d1f046..d86eb748d 100644 --- a/test/libsolidity/semanticTests/array/copying/array_nested_memory_to_storage.sol +++ b/test/libsolidity/semanticTests/array/copying/array_nested_memory_to_storage.sol @@ -44,6 +44,6 @@ contract Test { // test1() -> 3 // test2() -> 6 // test3() -> 24 -// gas irOptimized: 155660 -// gas legacy: 156683 -// gas legacyOptimized: 155793 +// gas irOptimized: 141260 +// gas legacy: 142283 +// gas legacyOptimized: 141393 diff --git a/test/libsolidity/semanticTests/array/copying/copy_byte_array_in_struct_to_storage.sol b/test/libsolidity/semanticTests/array/copying/copy_byte_array_in_struct_to_storage.sol index 0563ca2f1..ef7ff3232 100644 --- a/test/libsolidity/semanticTests/array/copying/copy_byte_array_in_struct_to_storage.sol +++ b/test/libsolidity/semanticTests/array/copying/copy_byte_array_in_struct_to_storage.sol @@ -39,8 +39,8 @@ contract C { // gas legacy: 181047 // gas legacyOptimized: 180029 // g() -> 0x40, 0xc0, 0x49, 0x3132333435363738393031323334353637383930313233343536373839303120, 0x3132333435363738393031323334353637383930313233343536373839303120, 0x3132333435363738390000000000000000000000000000000000000000000000, 0x11, 0x3132333435363738393233343536373839000000000000000000000000000000 -// gas irOptimized: 121097 -// gas legacy: 124201 -// gas legacyOptimized: 121353 +// gas irOptimized: 106697 +// gas legacy: 109801 +// gas legacyOptimized: 106953 // h() -> 0x40, 0x60, 0x00, 0x00 // storageEmpty -> 1 diff --git a/test/libsolidity/semanticTests/array/copying/copy_byte_array_to_storage.sol b/test/libsolidity/semanticTests/array/copying/copy_byte_array_to_storage.sol index 05eff8ac4..a4c556622 100644 --- a/test/libsolidity/semanticTests/array/copying/copy_byte_array_to_storage.sol +++ b/test/libsolidity/semanticTests/array/copying/copy_byte_array_to_storage.sol @@ -46,6 +46,6 @@ contract C { } // ---- // f() -> 0xff -// gas irOptimized: 179284 -// gas legacy: 191974 -// gas legacyOptimized: 183456 +// gas irOptimized: 143428 +// gas legacy: 153580 +// gas legacyOptimized: 146765 diff --git a/test/libsolidity/semanticTests/array/copying/function_type_array_to_storage.sol b/test/libsolidity/semanticTests/array/copying/function_type_array_to_storage.sol index eabd4c0b8..1e8760250 100644 --- a/test/libsolidity/semanticTests/array/copying/function_type_array_to_storage.sol +++ b/test/libsolidity/semanticTests/array/copying/function_type_array_to_storage.sol @@ -51,6 +51,6 @@ contract C { // gas legacyOptimized: 117021 // test2() -> 0x20, 0x14, "[b called][a called]" // test3() -> 0x20, 0x14, "[b called][a called]" -// gas irOptimized: 106056 -// gas legacy: 105614 -// gas legacyOptimized: 104506 +// gas irOptimized: 103256 +// gas legacy: 102814 +// gas legacyOptimized: 101706 diff --git a/test/libsolidity/semanticTests/array/pop/array_pop_array_transition.sol b/test/libsolidity/semanticTests/array/pop/array_pop_array_transition.sol index fda0c47bf..5292182b9 100644 --- a/test/libsolidity/semanticTests/array/pop/array_pop_array_transition.sol +++ b/test/libsolidity/semanticTests/array/pop/array_pop_array_transition.sol @@ -23,7 +23,7 @@ contract c { } // ---- // test() -> 1, 2, 3 -// gas irOptimized: 2285747 -// gas legacy: 2279034 -// gas legacyOptimized: 2267444 +// gas irOptimized: 1828598 +// gas legacy: 1823228 +// gas legacyOptimized: 1813956 // storageEmpty -> 1 diff --git a/test/libsolidity/semanticTests/array/pop/array_pop_uint16_transition.sol b/test/libsolidity/semanticTests/array/pop/array_pop_uint16_transition.sol index 93075959d..2ef781a70 100644 --- a/test/libsolidity/semanticTests/array/pop/array_pop_uint16_transition.sol +++ b/test/libsolidity/semanticTests/array/pop/array_pop_uint16_transition.sol @@ -18,7 +18,7 @@ contract c { } // ---- // test() -> 38, 28, 18 -// gas irOptimized: 185650 -// gas legacy: 189492 -// gas legacyOptimized: 178318 +// gas irOptimized: 148520 +// gas legacy: 151594 +// gas legacyOptimized: 142655 // storageEmpty -> 1 diff --git a/test/libsolidity/semanticTests/array/pop/array_pop_uint24_transition.sol b/test/libsolidity/semanticTests/array/pop/array_pop_uint24_transition.sol index fbfca89d9..a56aef2cd 100644 --- a/test/libsolidity/semanticTests/array/pop/array_pop_uint24_transition.sol +++ b/test/libsolidity/semanticTests/array/pop/array_pop_uint24_transition.sol @@ -18,7 +18,7 @@ contract c { } // ---- // test() -> 20, 10 -// gas irOptimized: 157570 -// gas legacy: 159279 -// gas legacyOptimized: 152937 +// gas irOptimized: 126056 +// gas legacy: 127424 +// gas legacyOptimized: 122350 // storageEmpty -> 1 diff --git a/test/libsolidity/semanticTests/array/pop/byte_array_pop_copy_long.sol b/test/libsolidity/semanticTests/array/pop/byte_array_pop_copy_long.sol index a5332cfd7..cb917cef0 100644 --- a/test/libsolidity/semanticTests/array/pop/byte_array_pop_copy_long.sol +++ b/test/libsolidity/semanticTests/array/pop/byte_array_pop_copy_long.sol @@ -10,6 +10,6 @@ contract c { // ---- // test() -> 0x20, 29, 0x0303030303030303030303030303030303030303030303030303030303000000 -// gas irOptimized: 109301 -// gas legacy: 126702 +// gas irOptimized: 109310 +// gas legacy: 101362 // gas legacyOptimized: 123422 diff --git a/test/libsolidity/semanticTests/array/pop/byte_array_pop_long_storage_empty.sol b/test/libsolidity/semanticTests/array/pop/byte_array_pop_long_storage_empty.sol index 2bebf21c6..0c0343654 100644 --- a/test/libsolidity/semanticTests/array/pop/byte_array_pop_long_storage_empty.sol +++ b/test/libsolidity/semanticTests/array/pop/byte_array_pop_long_storage_empty.sol @@ -16,7 +16,7 @@ contract c { } // ---- // test() -> true -// gas irOptimized: 175619 -// gas legacy: 224093 -// gas legacyOptimized: 205152 +// gas irOptimized: 140496 +// gas legacy: 179275 +// gas legacyOptimized: 164122 // storageEmpty -> 1 diff --git a/test/libsolidity/semanticTests/array/pop/byte_array_pop_long_storage_empty_garbage_ref.sol b/test/libsolidity/semanticTests/array/pop/byte_array_pop_long_storage_empty_garbage_ref.sol index 42a91e7ed..e801dd0fc 100644 --- a/test/libsolidity/semanticTests/array/pop/byte_array_pop_long_storage_empty_garbage_ref.sol +++ b/test/libsolidity/semanticTests/array/pop/byte_array_pop_long_storage_empty_garbage_ref.sol @@ -15,7 +15,7 @@ contract c { } // ---- // test() -> -// gas irOptimized: 142528 -// gas legacy: 164430 -// gas legacyOptimized: 158513 +// gas irOptimized: 114023 +// gas legacy: 131544 +// gas legacyOptimized: 126811 // storageEmpty -> 1 diff --git a/test/libsolidity/semanticTests/structs/struct_delete_storage_with_array.sol b/test/libsolidity/semanticTests/structs/struct_delete_storage_with_array.sol index eb563b947..d2300d493 100644 --- a/test/libsolidity/semanticTests/structs/struct_delete_storage_with_array.sol +++ b/test/libsolidity/semanticTests/structs/struct_delete_storage_with_array.sol @@ -42,10 +42,10 @@ contract C { } // ---- // f() -> -// gas irOptimized: 141557 -// gas legacy: 142032 -// gas legacyOptimized: 141400 +// gas irOptimized: 113246 +// gas legacy: 113626 +// gas legacyOptimized: 113120 // g() -> -// gas irOptimized: 148272 -// gas legacy: 148507 -// gas legacyOptimized: 147740 +// gas irOptimized: 118618 +// gas legacy: 118806 +// gas legacyOptimized: 118192 diff --git a/test/libsolidity/semanticTests/viaYul/array_storage_index_access.sol b/test/libsolidity/semanticTests/viaYul/array_storage_index_access.sol index a0987895c..676e3759e 100644 --- a/test/libsolidity/semanticTests/viaYul/array_storage_index_access.sol +++ b/test/libsolidity/semanticTests/viaYul/array_storage_index_access.sol @@ -20,9 +20,9 @@ contract C { // gas legacy: 3071683 // gas legacyOptimized: 3014415 // test_indices(uint256): 5 -> -// gas irOptimized: 722510 -// gas legacy: 719151 -// gas legacyOptimized: 716139 +// gas irOptimized: 578008 +// gas legacy: 575321 +// gas legacyOptimized: 572912 // test_indices(uint256): 10 -> // gas irOptimized: 158347 // gas legacy: 162657 @@ -40,14 +40,14 @@ contract C { // gas legacy: 18602799 // gas legacyOptimized: 18179744 // test_indices(uint256): 129 -> -// gas irOptimized: 5197778 -// gas legacy: 5212013 -// gas legacyOptimized: 5157889 +// gas irOptimized: 4158223 +// gas legacy: 4169611 +// gas legacyOptimized: 4126312 // test_indices(uint256): 128 -> -// gas irOptimized: 416732 -// gas legacy: 470568 -// gas legacyOptimized: 423768 +// gas irOptimized: 411932 +// gas legacy: 465768 +// gas legacyOptimized: 418968 // test_indices(uint256): 1 -> -// gas irOptimized: 726962 -// gas legacy: 721789 -// gas legacyOptimized: 720209 +// gas irOptimized: 581570 +// gas legacy: 577432 +// gas legacyOptimized: 576168 diff --git a/test/libsolidity/semanticTests/viaYul/array_storage_index_zeroed_test.sol b/test/libsolidity/semanticTests/viaYul/array_storage_index_zeroed_test.sol index 8b90995d3..b1ef599e9 100644 --- a/test/libsolidity/semanticTests/viaYul/array_storage_index_zeroed_test.sol +++ b/test/libsolidity/semanticTests/viaYul/array_storage_index_zeroed_test.sol @@ -52,18 +52,18 @@ contract C { // ---- // test_zeroed_indicies(uint256): 1 -> // test_zeroed_indicies(uint256): 5 -> -// gas irOptimized: 165044 -// gas legacy: 166201 -// gas legacyOptimized: 163439 +// gas irOptimized: 132036 +// gas legacy: 132961 +// gas legacyOptimized: 130752 // test_zeroed_indicies(uint256): 10 -> -// gas irOptimized: 282617 -// gas legacy: 285088 -// gas legacyOptimized: 280012 +// gas irOptimized: 226094 +// gas legacy: 228071 +// gas legacyOptimized: 224010 // test_zeroed_indicies(uint256): 15 -> -// gas irOptimized: 405332 -// gas legacy: 409138 -// gas legacyOptimized: 401827 +// gas irOptimized: 324266 +// gas legacy: 327311 +// gas legacyOptimized: 321462 // test_zeroed_indicies(uint256): 0xFF -> -// gas irOptimized: 6403282 -// gas legacy: 6466233 -// gas legacyOptimized: 6333077 +// gas irOptimized: 5122626 +// gas legacy: 5172987 +// gas legacyOptimized: 5066462 diff --git a/test/libsolidity/semanticTests/viaYul/array_storage_push_pop.sol b/test/libsolidity/semanticTests/viaYul/array_storage_push_pop.sol index 78d936100..97f7a1269 100644 --- a/test/libsolidity/semanticTests/viaYul/array_storage_push_pop.sol +++ b/test/libsolidity/semanticTests/viaYul/array_storage_push_pop.sol @@ -17,11 +17,11 @@ contract C { // gas legacy: 105722 // gas legacyOptimized: 103508 // set_get_length(uint256): 0xFF -> 0 -// gas irOptimized: 841772 -// gas legacy: 830227 -// gas legacyOptimized: 806158 +// gas irOptimized: 821872 +// gas legacy: 810327 +// gas legacyOptimized: 786258 // set_get_length(uint256): 0xFFF -> 0 -// gas irOptimized: 12860984 -// gas legacy: 12668959 -// gas legacyOptimized: 12287770 +// gas irOptimized: 12841084 +// gas legacy: 12649059 +// gas legacyOptimized: 12267870 // set_get_length(uint256): 0xFFFF -> FAILURE # Out-of-gas #