Skip to content
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

Annotate RegionDSL to simplify types #184

Merged

Conversation

andongfan
Copy link
Member

No description provided.

Copy link
Contributor

@LPTK LPTK left a comment

Choose a reason for hiding this comment

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

Wow the file reads much nicer now :^)

But let's keep the original unannotated tests in a separate file – call the original SimpleRegionDSL_raw.mls and the new one SimpleRegionDSL_annot.mls, for example. Letting the inferred types through can be useful to spot changes and regression, and also compare the performance.

@andongfan
Copy link
Member Author

Done! Interestingly I found that on my machine the annotated version run slightly faster than the raw version by about 30ms.

@andongfan andongfan requested a review from LPTK October 1, 2023 15:39
Copy link
Contributor

@LPTK LPTK left a comment

Choose a reason for hiding this comment

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

Thanks!

I found that on my machine the annotated version run slightly faster than the raw version by about 30ms

TBH that's likely just noise from the test setup, although the effect might be real but small.

@LPTK LPTK merged commit 8ddfd7b into hkust-taco:new-definition-typing Oct 1, 2023
1 check passed
@andongfan andongfan deleted the new-definition-typing branch October 4, 2023 21:55
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