-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Reduce size of InferenceResult
#19891
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
base: master
Are you sure you want to change the base?
Conversation
It's probably better to keep this as a single struct, especially given that there are other eligible types, e.g. |
Right, good call. Would be good to check how this would look like with the new type ir as well I think |
There is no reason to have this duplicated across all inference results
60d3580
to
1a5f08f
Compare
Don't mind the other commits for now, I am experimenting with how far we can shrink |
So I was curious and checked the impact on memory. This saves 4 megabytes 😞 I'm sorry to say I don't think it's worth the effort. |
Not surprising, we do not have that many |
I do think most of the changes here are still good either way but let's put this to the side until the trait solver lands |
We don't? In analysis-stats every function has. |
No description provided.