Skip to content

Conversation

@liam923
Copy link
Contributor

@liam923 liam923 commented Nov 4, 2025

This PR brings in changes from oxcaml Merlin: oxcaml/merlin#193

Copy link
Collaborator

@voodoos voodoos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @liam923, looks great ! Do you have more insights on the potential performance improvements of this patch ?

Also, if you can add a changelog entry ? If not I will do it before merging (I restarted the windows CI).

@liam923
Copy link
Contributor Author

liam923 commented Nov 6, 2025

No, it's not clear to me how impactful the performance implications are. The substitutions are often much more expensive in oxcaml due to heavy usage of ppx_template. I also hypothesize (without testing) that this only speeds up Merlin's first typecheck of a buffer - caching may make this (mostly) irrelevant for subsequent requests. Still, I don't think this change can hurt.

I've went ahead and updated the changelog.

@voodoos voodoos merged commit 5623f6f into ocaml:main Nov 7, 2025
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants