We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Context: rust-lang/rust#65080
We should look into anything quote can do to reduce number of proc_macro calls.
For example, something like
- tokens.extend(once(TokenTree::Punct(Punct::new(...)))); - tokens.extend(once(TokenTree::Punct(Punct::new(...)))); - tokens.extend(once(TokenTree::Punct(Punct::new(...)))); + tokens.extend(vec![ + TokenTree::Punct(Punct::new(...)), + TokenTree::Punct(Punct::new(...)), + TokenTree::Punct(Punct::new(...)), + ]);
could be a big improvement to compile times downstream by reducing TokenStream::extend calls.
The text was updated successfully, but these errors were encountered:
Closing in favor of dtolnay/proc-macro2#199 since this can be fixed in proc-macro2.
Sorry, something went wrong.
No branches or pull requests
Context: rust-lang/rust#65080
We should look into anything quote can do to reduce number of proc_macro calls.
For example, something like
could be a big improvement to compile times downstream by reducing TokenStream::extend calls.
The text was updated successfully, but these errors were encountered: