oxc-project / backlog

backlog for collborators only
0 stars 0 forks source link

Move `Visit` and `VisitMut` to separate crates #4

Open overlookmotel opened 2 months ago

overlookmotel commented 2 months ago

Currently Visit and VisitMut live in oxc_ast crate. Both are quite large chunks of code.

Linter doesn't use VisitMut, parser doesn't use either.

Move them to separate crates to reduce compile times for the crates which don't use them, or only use one or the other.

Boshen commented 3 weeks ago

Compile time hasn't show up from --timings yet, but we can feature gate some of the large files.