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

Fix fields with abstract types #399

Merged
merged 7 commits into from
Mar 6, 2025
Merged

Fix fields with abstract types #399

merged 7 commits into from
Mar 6, 2025

Conversation

devmotion
Copy link
Member

I went through all structs in AdvancedHMC and fixed all fields that are currently not concretely typed.

devmotion and others added 4 commits February 23, 2025 00:19
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@devmotion
Copy link
Member Author

Bump 🙂

yebai
yebai previously approved these changes Mar 5, 2025
Copy link
Member

@yebai yebai left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@yebai yebai requested a review from mhauru March 5, 2025 20:51
Copy link
Member

@mhauru mhauru left a comment

Choose a reason for hiding this comment

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

Looks great. Any indication of how this affects compile time and performance? Happy to merge without benchmarking, but would be interested to hear if you've tried it out.

Needs a breaking version bump since many of the types are exported.

@devmotion
Copy link
Member Author

I didn't benchmark it locally but CI times seem consistently lower with this PR. For instance, latest runs on main ~25 minutes on ubuntu (for all versions) whereas ~18 minutes on this PR.

@devmotion
Copy link
Member Author

I updated the version number.

@devmotion devmotion requested a review from mhauru March 6, 2025 10:45
Copy link
Member

@mhauru mhauru left a comment

Choose a reason for hiding this comment

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

Super, thanks @devmotion!

@devmotion devmotion merged commit 75fb7ec into main Mar 6, 2025
17 checks passed
@devmotion devmotion deleted the dw/struct branch March 6, 2025 12:22
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.

4 participants