-
Notifications
You must be signed in to change notification settings - Fork 56
Embed bottom and middle spacepoint in triplet #1097
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
Embed bottom and middle spacepoint in triplet #1097
Conversation
143f9db to
5cfd02a
Compare
Performance summaryHere is a summary of the performance effects of this PR: GraphicalTabular
Important All metrics in this report are given as reciprocal throughput, not as wallclock runtime. Note This is an automated message produced on the explicit request of a human being. |
|
The PR makes sense to me. Actually it is weird to me that only the top spacepoints has been saved in the past. Do you know why the top one is prioritized over the bottom one? EDIT: NVM. I looked at the code and found that there is already a link to bottom and middle spacepoints |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
Right now, we store only the top spacepoint in the device triplet which is technically all that is required, but this makes it very difficult and time-consuming to retrieve the bottom and middle spacepoint. This commit embeds the locations of those spacepoints in the triplet, making life easier for a lot of the planned seeding changes.
5cfd02a to
0f6e85c
Compare
|
This was an aggressive optimization about 2 years ago. Reducing the memory allocations like this was making the seed finding on the TML detector faster at the time. It was also making seed finding appropriately fast for the ODD. But now with the ITk all those optimizations seem to rather hurt us, as they are making it difficult to add new features to the code. As I discussed a couple of times with Stephen in the last week, to me this is a good warning that we must not go "too far" with optimizations "too early". (Whatever "too far" and "too early" may mean...) |




Right now, we store only the top spacepoint in the device triplet which is technically all that is required, but this makes it very difficult and time-consuming to retrieve the bottom and middle spacepoint. This commit embeds the locations of those spacepoints in the triplet, making life easier for a lot of the planned seeding changes.