You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These account for a surprisingly large proportion of the compile time of the syn crate, on the order of 31% when "parsing", "printing", and "full" features are enabled.
It is not necessary for this code to be in the same crate as the rest of syn. Each of these modules could be its own crate, which depends on syn. This would allow crates which depend on syn but do not use those traits to begin compiling sooner in a clean build.
The text was updated successfully, but these errors were encountered:
https://docs.rs/syn/2/syn/visit/index.html
https://docs.rs/syn/2/syn/visit_mut/index.html
https://docs.rs/syn/2/syn/fold/index.html
These account for a surprisingly large proportion of the compile time of the syn crate, on the order of 31% when "parsing", "printing", and "full" features are enabled.
It is not necessary for this code to be in the same crate as the rest of syn. Each of these modules could be its own crate, which depends on syn. This would allow crates which depend on syn but do not use those traits to begin compiling sooner in a clean build.
The text was updated successfully, but these errors were encountered: