-
Notifications
You must be signed in to change notification settings - Fork 329
Baml salsa HIR
#2723
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: canary
Are you sure you want to change the base?
Baml salsa HIR
#2723
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
🌿 Preview your docs: https://boundary-preview-bb0da742-cfad-49f7-b1bd-57b8464d6464.docs.buildwithfern.com |
CodSpeed Performance ReportMerging #2723 will degrade performances by 30.02%Comparing Summary
Benchmarks breakdown
|
| //! | ||
| //! The `ItemTree` contains minimal representations of all items in a container. | ||
| //! It acts as an "invalidation barrier" - only changes to item signatures | ||
| //! cause the `ItemTree` to change, not edits to whitespace, comments, or bodies. |
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.
Curious - why don't changes to bodies (does this mean function bodies) cause the function to get invalidated?
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.
Oh - function bodies are stored elsewhere apparently https://github.com/BoundaryML/baml/pull/2723/files#diff-6cdcf2d13bbd1882d24da94627a7b16e3442133c617f96c7f9d9735701814abcR117
|
|
||
| /// Tracked struct holding all items defined in a file. | ||
| /// | ||
| /// This follows the Salsa 2022 pattern: instead of returning Vec<ItemId<'db>> |
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.
(nit - we can remove some of the redundant explanations)
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.
True, I would say we do intensive human review after we're done
|
🌿 Preview your docs: https://boundary-preview-8e642d50-8f2e-44d7-b5f0-f8be79dce489.docs.buildwithfern.com |
|
🌿 Preview your docs: https://boundary-preview-76d5355b-b3c9-4f4e-9e8f-c49294a46516.docs.buildwithfern.com |
|
🌿 Preview your docs: https://boundary-preview-4fcfd0a1-5387-4903-a6a0-a310c21b1a48.docs.buildwithfern.com |
|
🌿 Preview your docs: https://boundary-preview-5c04fcc6-dda4-4ca5-ac79-c071f74e94bc.docs.buildwithfern.com |
|
🌿 Preview your docs: https://boundary-preview-43050412-5f79-4004-9089-69544977f974.docs.buildwithfern.com |
No description provided.