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
Updated precomputed value sort #25080
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-25080/7075 |
A new Pull Request was created by @guitargeek (Jonas Rembser) for master. It involves the following packages: Utilities/General @cmsbuild, @smuzaffar, @Dr15Jones can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
Hi @Dr15Jones, can you please test? Since there was this big GitHub network issue 6 days ago I'm not sure if you a) got notified about this PR and just don't care or b) just didn't notified due to the GitHub issue. |
please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2) |
Comparison is ready Comparison Summary:
|
+1 the modified function is used in several RECO packages, no difference is observed in the PR tests. |
The current implementation of precomputed_value_sort requires the passed functions to be functors inheriting from the deprecated binary_/unary_function or functions wrapped in a
std::function
.Here, I propose to improve it in a way that it can be used with any function object (in particular normal functions and lambdas). That will allow us to drop the binary_/unary_functions more easily.