-
Notifications
You must be signed in to change notification settings - Fork 207
Conversation
This fixes UriCaches from being leaked via GhcModuleCaches. This is the result of 72 hours at ZuriHac between 3 people and a lot of time spent in gdb. Blog post coming soon Co-Authored-By: Matthew Pickering <[email protected]> Co-Authored-By: Daniel Gröber <[email protected]>
This leaves me wondering how we strayed from best practice of making all data structure fields strict, unless there is a good reason not to. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Any concrete before/after measurements?
@wz1000 Running with an lsp-test test-scenario that makes 10 edits: Before 🚰After |
@wz1000 I will tidy up the test executable and make a separate PR for it |
Should we just add |
So long as there is a way to mark fields as lazy, if required. |
And it is great to have the ability to profile in the project knowledge base. Well done. |
Yes it is possible, you can make any field lazy by prepending |
@bubba Would you mind profiling again after adding |
@lorenzo sure! I’ll see if I can convert my test case into a benchmark actually |
This fixes UriCaches from being leaked via GhcModuleCaches. This is the result of 72 hours at ZuriHac between 3 people and a lot of time spent in gdb.
Fixes #412, #806, #665
Blog post coming soon
Co-Authored-By: Matthew Pickering [email protected]
Co-Authored-By: Daniel Gröber [email protected]