-
Notifications
You must be signed in to change notification settings - Fork 64
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
Optimized access to sparse multiports in the C++ target #1312
Conversation
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.
The changes here look good to me (I only had one question). But we should wait with merging this until lf-lang/reactor-cpp#24 is merged.
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.
This looks good! I added a few nitpicks. Also it seems like you changed the refs of other submodules then reactor-cpp, which should not be needed.
Could you also update the PR description? |
35030ed
to
f899d7c
Compare
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.
Glad that we can finally merge this!
Multiport Optimization
Ports contained inside a multiport are now smart and will help the multiport to keep track of all the present ports.
This changes will increase performance for sparse multiports e.g. Big Benchmark. Previously a
std::vector
was usedto store ports this is now replaced by
reactor::Multiport
class.This changes are related to: