Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PERF: Avoid redundant searches for a data element in a
gdcm::DataSet
The original code requested `gdcm::DataSet` to search for one and the same data element three times in a row, by calling both FindDataElement and GetDataElement for the very same tag. With this commit, the search is only performed once. Issue found by Mihail Isakov: InsightSoftwareConsortium#4636 (comment)
- Loading branch information