ENH: benchmark for iterators doing a static cast of pixel#108
Merged
blowekamp merged 1 commit intoInsightSoftwareConsortium:masterfrom Dec 15, 2025
Merged
Conversation
dzenanz
approved these changes
Dec 10, 2025
Member
dzenanz
left a comment
There was a problem hiding this comment.
This looks good on a glance, I have not tried running it (yet).
Member
Author
|
Here is the performance I get on my platform. updated I would be curious how MSVC compares. |
N-Dekker
reviewed
Dec 10, 2025
349f412 to
b8d6f5d
Compare
Member
|
Running b8d6f5d, compiled with VS2026: |
b8d6f5d to
7fb08c1
Compare
Member
Author
|
I updated the PR, and my posed performance benchmark to include comparison to the ImageAlgorithm::Copy ( which is an std::transform ). There are a couple observations here:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.