-
Notifications
You must be signed in to change notification settings - Fork 61
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
📊 Sort spikes. #2433
Merged
thorstenhater
merged 15 commits into
arbor-sim:master
from
thorstenhater:perf/better-sorting-in-event-queue
Jan 27, 2025
Merged
📊 Sort spikes. #2433
Changes from 11 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
e8851f9
Make brunel able to use cable cells.
thorstenhater 812b2d0
make lif cell an aggregate.
thorstenhater 37f5c29
Remove introsort for classical sort.
thorstenhater 5a82e14
Disable --- for now --- extremely slow tests.
thorstenhater fa7127a
Remove introsort for classical sort.
thorstenhater e1f4fcd
Comment on aliasing
thorstenhater a32158b
Merge remote-tracking branch 'origin/master' into perf/better-sorting…
thorstenhater 1659d05
Merge remote-tracking branch 'hater/perf/better-sorting-in-event-queu…
thorstenhater 8eb35cf
Clean-up
thorstenhater 00f8dfc
Test?
thorstenhater 2cd0f62
Tweak ctors
thorstenhater e546d5d
C++20 support do be weird?
thorstenhater 78d8cc3
appease older compilers, i guess?
thorstenhater d200826
Name the types
thorstenhater a029a33
Enable once too-slow tests.
thorstenhater File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Sorry (sort-of!) for the drive-by comment without any other engagement on this PR, but it's an almost trivial thing: I think we shouldn't be using const in parameter declarations such as this where it has no semantic value.
The reason is that it clutters the signature and is a bit misleading; having a const there, being unidiomatic, trips up the reader, prompting them to ponder, why are these arguments marked so? Looking at this code, I might be lead to think that
cell_local_size_type
must be some sort of type alias for a reference type, when of course it isn't.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.
Sure, that's not meant for merging, but rather me being confused about the compiler error (and behaviour)
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.
It turned out that newer (like installed on my machine) compilers allow
emplace_back
for aggregates in C++20 mode, but older ones do not. So, some extra work was needed.