anoma / juvix

A language for intent-centric and declarative decentralised applications
https://docs.juvix.org
GNU General Public License v3.0
442 stars 54 forks source link

Improve performance of formatting a project #2863

Open janmasrovira opened 3 days ago

janmasrovira commented 3 days ago

Currently formatting a project is equivalent to running juvix format on each individual file. Hence, the performance is quadratic wrt the number of modules in the project. This pr fixes that and we now we only process each module once.