-
Notifications
You must be signed in to change notification settings - Fork 5
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
Node activity #425
Merged
Merged
Node activity #425
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
2515361
Add node activity input and handling in core
SouthEndMusic fe10fbe
Merge branch 'main' into Node_activity
SouthEndMusic 727efd5
Merge branch 'main' into Node_activity
SouthEndMusic e381fc7
Bugfixes
SouthEndMusic 122f31b
Merge branch 'main' into Node_activity
SouthEndMusic 9028332
Bugfixes
SouthEndMusic 85e1c97
Update usage docs
SouthEndMusic 4e62f47
Set PID integral state to 0 when inactive.
SouthEndMusic f9bec18
Bugfix
SouthEndMusic 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.
Shall we simply use
Vector{Bool}
here? It uses more memory, but should be faster to read and write, since bits don't need to be shuffled around.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.
I was talking with Bart about this, the reason I suggested
BitVector
is that he was using a function that returned aBitVector
, so no conversion step was necessary that way.But if you think
Vector{Bool}
is faster, we should probably switch.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.
Ok let's keep it the same. If it causes issues or shows up in profiling we can switch later.
Apparently the performance is not so clear cut: https://discourse.julialang.org/t/bitvector-vs-vector-bool-as-default-on-comparison-operations/49431