Skip to content

refactor: Use templates where possible for compile-time checks and optimizations#4923

Merged
andiwand merged 2 commits intoacts-project:mainfrom
abarton5:eigenstatic
Dec 20, 2025
Merged

refactor: Use templates where possible for compile-time checks and optimizations#4923
andiwand merged 2 commits intoacts-project:mainfrom
abarton5:eigenstatic

Conversation

@abarton5
Copy link
Contributor

perf: Use Eigen templates where possible (when matrix dimensions are known) for compile-time checks and optimizations

--- END COMMIT MESSAGE ---
Eigen's non-templated block(rows, cols, sizeRow, sizeCol) performs runtime size checks. Using the templated version block<SizeRows, SizeCols>(rows, cols) enforces sizes at compile time, which is more efficient and type-safe, especially for fixed-size operations on known vector columns.

This should not change any output.

@github-actions github-actions bot added this to the next milestone Dec 18, 2025
@github-actions github-actions bot added the Component - Plugins Affects one or more Plugins label Dec 18, 2025
@paulgessinger
Copy link
Member

/ci-bridge-run

@paulgessinger
Copy link
Member

@abarton5 Can you run pre-commit or clang-format locally?

@github-actions
Copy link
Contributor

github-actions bot commented Dec 18, 2025

📊: Physics performance monitoring for 7c50d12

Full contents

physmon summary

@abarton5
Copy link
Contributor Author

/ci-bridge-run

1 similar comment
@paulgessinger
Copy link
Member

/ci-bridge-run

@paulgessinger
Copy link
Member

@abarton5 there's a filter list for the CI command, fyi. I can add you to the list when I'm back in front of a computer.

@andiwand
Copy link
Contributor

/ci-bridge-run

@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 20, 2025

@andiwand andiwand merged commit eb3161a into acts-project:main Dec 20, 2025
43 checks passed
@acts-project-service acts-project-service added the Fails Athena tests This PR causes a failure in the Athena tests label Dec 20, 2025
@andiwand andiwand modified the milestones: next, v45.0.0 Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component - Plugins Affects one or more Plugins Fails Athena tests This PR causes a failure in the Athena tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants