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

PERF: Make ImageRegion trivially copyable (LEGACY_REMOVE) #4691

Conversation

N-Dekker
Copy link
Contributor

Replaced ITK_FUTURE_LEGACY_REMOVE with ITK_LEGACY_REMOVE, regarding its inheritance from itk::Region.

A run-time performance improvement of more than 25% on default-constructing and destructing a sequence of ImageRegion objects was observed.

Replaced `ITK_FUTURE_LEGACY_REMOVE` with `ITK_LEGACY_REMOVE`, regarding its
inheritance from `itk::Region`.

A run-time performance improvement of more than 25% on default-constructing
and destructing a sequence of `ImageRegion` objects was observed.

- Follow-up to pull request InsightSoftwareConsortium#4344
commit 1f3bbb6
@github-actions github-actions bot added type:Performance Improvement in terms of compilation or execution time type:Testing Ensure that the purpose of a class is met/the results on a wide set of test cases are correct area:Core Issues affecting the Core module labels May 22, 2024
@dzenanz dzenanz requested review from thewtex and blowekamp May 22, 2024 13:11
@N-Dekker N-Dekker marked this pull request as ready for review May 22, 2024 20:49
Copy link
Member

@thewtex thewtex left a comment

Choose a reason for hiding this comment

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

🚀 🔥

@thewtex thewtex merged commit e70671d into InsightSoftwareConsortium:master May 22, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:Core Issues affecting the Core module type:Performance Improvement in terms of compilation or execution time type:Testing Ensure that the purpose of a class is met/the results on a wide set of test cases are correct
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants