-
Notifications
You must be signed in to change notification settings - Fork 364
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
Preformance enhancement for large projects: Avoid recomputing SourceToModule
maps
#6145
Comments
Fixed by the removal of |
SourceToModule
mapsSourceToModule
maps
@andreasabel, have you verified that this particular change is a performance enhancement? The numbers that I presented (#6183) related to several changes. |
No, but the alternative is to not mention this in the changelog at all. After all, it is an internal refactoring, which should be mentioned if it had performance benefits. |
I don't think this should be mentioned in the changelog without any evidence that it makes a difference. |
The computation
sourceToModule
is used ingenerateAndPrintSyntaxInfo
, which is used repeatedly:agda/src/full/Agda/TypeChecking/Monad/Base.hs
Lines 876 to 883 in 82b2b0f
For large developments this could have a non-trivial cost.
The text was updated successfully, but these errors were encountered: