-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
use std::vector<T>::operator[]
in edm::HLTGlobalStatus::operator[]
#40458
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40458/33616
|
A new Pull Request was created by @missirol (Marino Missiroli) for master. It involves the following packages:
@cmsbuild, @smuzaffar, @Dr15Jones, @makortel can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild, please test |
In principle I'm not against. I see the implementation of My only concern is that this changes ~17 year old behavior in a way that can, in principle, result in undefined behavior in code that should now call the |
Pull request #40458 was updated. @cmsbuild, @smuzaffar, @Dr15Jones, @makortel can you please check and sign again. |
Thanks @missirol for the extensive checks! |
@cmsbuild, please test |
-1 Failed Tests: HeaderConsistency Comparison SummaryThere are some workflows for which there are errors in the baseline: Summary:
|
Header consistency check is failing because #40474 was not included in the test. |
release-note: This means that |
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (but tests are reportedly failing). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
please test
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b86240/29947/summary.html Comparison SummaryThere are some workflows for which there are errors in the baseline: Summary:
|
+1 |
PR description:
This PR modifies the implementation of the methods
edm::HLTGlobalStatus::operator[]
, to usestd::vector<T>::operator[]
rather thanstd::vector<T>::at
(the methodsedm::HLTGlobalStatus::at
remain available, and usestd::vector<T>::at
).Arguably, the DataFormat should allow access to the faster
std::vector<T>::operator[]
, leaving it to users to choose the method (at
or[]
) most appropriate to their use case.Reminder:
edm::HLTGlobalStatus
is a base class ofedm::TriggerResults
.FYI: @cms-sw/hlt-l2
PR validation:
None.
If this PR is a backport, please specify the original PR and why you need to backport that PR. If this PR will be backported, please specify to which release cycle the backport is meant for:
N/A