-
Notifications
You must be signed in to change notification settings - Fork 18
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
Replace std::list with small vector for dependency tracking #100
Conversation
9ff8e8a
to
b94a753
Compare
Note: as per to our previous team discussion, this should probably not be squashed, since it has the old benchmark results in the prior commit and the new ones with the change in the new commit. |
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.
LGTM.
7e8fff4
to
c34ec43
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.
LGTM!
This replaces the use of
std::list
for dependency tracking withgch::small_vector
, and introduces some microbenchmarks for it.The only other active use of
std::list
in celerity is in the buffer transfer manager, but all operations on those also seem to involve the network eventually, so micro-optimizing that doesn't appear to make much sense.Microbenchmark results in graphical form are available here.