New issue
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
Add inline attributes to generated code #191
Comments
Afaik this is already done for all derives that are not a trait implementation (like the Constructor derive). If you find one without feel free to make a PR. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Simple constructors and a few other functions are normally never complex (they generate few lines of assembly). Marking those as inline can greatly improve performance for if they are used outside the crate.
Adding inline could greatly improve the performance of libraries that
derive_more
.The text was updated successfully, but these errors were encountered: