Parsing is super-linear (likely quadratic). Results from an application:
| Parse Time (s) |
Program length |
| 1 |
5465 |
| 4 |
9029 |
| 14 |
16142 |
| 52 |
30376 |
| 190 |
58915 |
| 742 |
116186 |
Likely due to p argument in parse_inst:
|
def parse_inst(line: str, p: list[Instruction]) -> Instruction: |
How can we improve this?
Parsing is super-linear (likely quadratic). Results from an application:
Likely due to
pargument inparse_inst:btor2-opt/src/btoropt/parser.py
Line 145 in 3485976
How can we improve this?