Commit ecdbe72
committed
DO NOT MERGE: pessimize solx-evm-assembly block map to test the summary
Replaces the per-function block BTreeMap with a flat Vec kept sorted by key, so
lookups (get_mut during traversal) and find-or-insert degrade from O(log n) to
linear scans, i.e. O(n^2) block construction. This is a realistic algorithmic
compile-time regression, not a synthetic sleep, for validating the integration
benchmark summary against real data.
Order is preserved (the Vec stays sorted), so emission order and generated
bytecode are unchanged; only compile time regresses. Bounded by the EVM
24 KB code-size limit on per-function block counts, so it stays well inside the
300-minute job timeout. Revert before merging.1 parent b28085e commit ecdbe72
1 file changed
Lines changed: 24 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
56 | 61 | | |
57 | 62 | | |
58 | 63 | | |
| |||
84 | 89 | | |
85 | 90 | | |
86 | 91 | | |
87 | | - | |
| 92 | + | |
88 | 93 | | |
89 | 94 | | |
90 | 95 | | |
| |||
169 | 174 | | |
170 | 175 | | |
171 | 176 | | |
172 | | - | |
173 | | - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
174 | 180 | | |
175 | 181 | | |
176 | 182 | | |
| |||
1387 | 1393 | | |
1388 | 1394 | | |
1389 | 1395 | | |
1390 | | - | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
1391 | 1410 | | |
1392 | 1411 | | |
1393 | 1412 | | |
| |||
0 commit comments