jackfirth / resyntax

A Racket refactoring engine
Apache License 2.0
48 stars 10 forks source link

Parallelism #37

Open jackfirth opened 3 years ago

jackfirth commented 3 years ago

Running resyntax on large codebases is slow, since it needs to macroexpand everything. But analysis of different modules is independent so it should be easy to parallelize the work using worker places.

jackfirth commented 3 years ago

So the dependency on the GUI framework might put a wrinkle in this, if #110 is a sign of trouble on the horizon. The GUI dependency only comes up for fixing indentation, which only occurs in the stage where fixes are being applied or displayed to end users. Hopefully that means the analysis stage can be parallelized without issues. Long term, we want to not have to depend on the GUI framework anyway just for indenting code, so maybe the task of writing a new GUI-free indenter should be prioritized higher.