Skip to content

Rewrite optimizer to have room for other optimizations #251

@SuperFola

Description

@SuperFola

Currently the optimizer needs to read the AST 2*n times if it has n different optimizations to perform, which is highly inefficient.

We should be able to read the AST at most 2 times to perform all the optimizations.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

v3.5.0

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions