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

Optimize get_bool_input and get_bool_side #176

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BramOtte
Copy link
Contributor

Similar to https://github.com/BramOtte/MCHPRS/tree/optimize-boolean-edges-2
this change optimizes for the fact that most components don't care about signal strength but only about on or off.
But this optimization is much simpler and does not skip out on updates but simply makes them slightly faster.
This means the gains are likely smaller but the likelihood of this breaking anything is very small.

This optimization results in about a 6% rtps increase when running the Iris Mandelbrot program.
Tested on ubuntu 20.04 on an Intel core i7-10750H over multiple runs

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.

1 participant