Skip to content
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

More callbacks #9

Merged

Conversation

joaoantoniocardoso
Copy link
Member

@joaoantoniocardoso joaoantoniocardoso commented Sep 7, 2024

harder better faster stronger

stronger because this PR allows many callbacks to be set, instead of a single one. This will allow us to have multiple configurable filters in the future.
faster because it uses indexmap instead of hashmap (see the crate for more details).
better because it adds the callbacks and builder to every driver that didn't implement it yet.
harder because it adds a benchmark!

image

image

Copy link
Member

@patrickelectric patrickelectric left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@patrickelectric patrickelectric merged commit 6111fc7 into bluerobotics:master Sep 7, 2024
8 checks passed
@joaoantoniocardoso joaoantoniocardoso deleted the more_callbacks branch September 7, 2024 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants