Skip to content

PERF: Make ImageRegion trivially copyable (LEGACY_REMOVE)#4691

Merged
thewtex merged 1 commit intoInsightSoftwareConsortium:masterfrom
N-Dekker:Make-ImageRegion-trivially_copyable-LEGACY_REMOVE
May 22, 2024
Merged

PERF: Make ImageRegion trivially copyable (LEGACY_REMOVE)#4691
thewtex merged 1 commit intoInsightSoftwareConsortium:masterfrom
N-Dekker:Make-ImageRegion-trivially_copyable-LEGACY_REMOVE

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 blowekamp and thewtex 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
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