dillon1000/react

Commit

Optimize DCE to visit CFG only once when there are no loops

Optimizes dead code elimination. Currently it keeps iterating the control flow 
graph until no new usages have been discovered, which accounts for usages across 
loops. However, when there are no loops it's sufficient to iterate the CFG 
exactly once.
Browse files
Changed paths1 file
First-parent comparison
M compiler/forget/src/Optimization/DeadCodeElimination.ts Modified
Patch

Files changed

Rendering syntax-highlighted changes…