-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Use fast_reject in coherence #24411
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
Comments
This is especially prominent in winapi which spends the majority of its time in coherence checking (and will only get worse as I add more things).
|
partially fixed by #24965. We could still use fast-reject for all types, through. |
Yep, my times seem to have improved significantly
|
Triage: unsure what the status is here. |
@retep998 Can you check if this is still an issue today? |
Coherence doesn't seem to be a major bottleneck for winapi at the moment, but there is some room to be faster. |
The original issue was fixed a long time ago. Further improvements are probably a part of Chalk. Note that IIRC coherence is mainly slow because it takes the blame for loading metadata. |
libcore seems to spend several seconds in coherence checking the
#[derive]
impls. Using fast_reject should make this faster.The text was updated successfully, but these errors were encountered: