-
-
Notifications
You must be signed in to change notification settings - Fork 806
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
More efficient try!() alternative #1121
Comments
Do you want a(n allow-by-default) lint for that? |
Thanks! Let's wait until we find out that this helps compile time measurably. (Or do you mean as a way to help me find all the |
I meant more to not regress in the future |
Testing against our json-benchmark with |
Maybe the most impactful number: 7% faster |
Our generated code uses the standard
try!
macro heavily.I think practically none of our uses of
try!
rely on the From::from conversion (i.e. it resolves to theimpl From<T> for T
). Let's experiment with generating code that omits the conversion and see whether that improves the compile times of the generated code.The text was updated successfully, but these errors were encountered: