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
Avoid unneccessary copies in RecoParticleFlow__PFProducer with emplace #24846
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-24846/6806 |
A new Pull Request was created by @guitargeek (Jonas Rembser) for master. It involves the following packages: RecoParticleFlow/PFProducer @perrotta, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@guitargeek |
Hi Slava, no I didn't check performance. Sorry, I suddenly had no time anymore to write a good description. So here is the thing: working on the EGamma PF algo to e.g. improve it for low-pt is not so easy because the code is hard to digest. One of my little personal goals is therefore to refactor PFEGammaAlgo to make it more comprehensible such that is can be easily hacked with and improved. In the past I made some experience with my "mammoth" PRs, which I think might took just more time to review than if there were split up in little pieces because they touched many aspects at once. So yes, this PR does nothing except for making the code (in my opinion) more expressive. Why counting on compiler optimizations if you can say with even fewer words how it should be? So: this PR would be just a tiny step towards a bigger goal. It's up to you to decide if that makes sense or if it would be just a waste of effort :) |
@guitargeek I was just trying to understand if "avoid unnecessary copies" was a factual thing at run time. I'm fine if this is just a cosmetic update. |
@cmsbuild please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
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) |
+1 |
No description provided.