-
Notifications
You must be signed in to change notification settings - Fork 36
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
feat: Remove MaybeDone
for tuple::join
(without additional deps)
#84
feat: Remove MaybeDone
for tuple::join
(without additional deps)
#84
Conversation
I'm interested in the perf comparison with #74 and the baseline :) |
$(pub(super) $F: MaybeUninit<$F::Output>),* | ||
} | ||
|
||
pub(super) struct States { |
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.
you could use PollStates
here
I can run a comparison with the main, my branch, and ours after that :)
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.
but here's the current results
>> critcmp main patch84 -f tuple::join
group patch84 main
----- ------- ----
tuple::join 10 1.00 213.1±0.96ns ? ?/sec 1.12 239.5±0.56ns ? ?/sec
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.
PollStates
is not no_std
since it uses Box
, we probably want a static version for tuples and small arrays to avoid lots of small branches
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.
We have a no_std
version of PollStates
now: utils::PollArray
.
Thanks ! Don't worry about this PR if #74 is better I have no problem merging it instead of this :) |
No description provided.