Open overlookmotel opened 2 months ago
Currently Visit and VisitMut live in oxc_ast crate. Both are quite large chunks of code.
Visit
VisitMut
oxc_ast
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.
Compile time hasn't show up from --timings yet, but we can feature gate some of the large files.
--timings
Currently
Visit
andVisitMut
live inoxc_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.