Skip to content

Commit

Permalink
Adopt a suggestion for improving comments
Browse files Browse the repository at this point in the history
Co-authored-by: Andre Sailer <[email protected]>
  • Loading branch information
SanghyunKo and andresailer authored Jul 22, 2024
1 parent 9eab1d4 commit 0284b31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DDCore/src/GeoHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ detail::GeoHandler& detail::GeoHandler::i_collect(const TGeoNode* /* parent */,
}
}
/// Collect the hierarchy of placements
/// perform lookup using std::set::emplace (faster than std::find for the large number of geometries)
/// perform lookup using std::set::emplace (faster than std::find for very large number of volumes)
if ( (*m_set_data)[level].emplace(current).second ) {
(*m_data)[level].push_back(current);
}
Expand Down

0 comments on commit 0284b31

Please sign in to comment.