Skip to content

Conversation

@blowekamp
Copy link
Member

Explicitly declare methods as constexpr to support additional compile time creation of objects.

@blowekamp blowekamp force-pushed the constexpr_addressor branch from a04b05f to 1f6f85c Compare July 9, 2025 17:51
@blowekamp blowekamp requested review from dave3d and zivy July 9, 2025 20:49
@blowekamp blowekamp marked this pull request as ready for review July 9, 2025 20:49
Copy link
Member

@zivy zivy left a comment

Choose a reason for hiding this comment

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

Going green.

Shifting computations to compile time increases our compute resource usage but decreases the compute for many people around the world.

@blowekamp
Copy link
Member Author

I don't think there where will be a measurable increase in compile time with this line of work.

@blowekamp blowekamp merged commit 07293ce into SimpleITK:master Jul 9, 2025
7 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