-
Notifications
You must be signed in to change notification settings - Fork 13.6k
fmt of non-decimal radix untangled #143730
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
base: master
Are you sure you want to change the base?
Conversation
2281143
to
d593c6f
Compare
This comment has been minimized.
This comment has been minimized.
d593c6f
to
f0f1c53
Compare
This comment has been minimized.
This comment has been minimized.
f0f1c53
to
76b8c3a
Compare
☔ The latest upstream changes (presumably #144044) made this pull request unmergeable. Please resolve the merge conflicts. |
* correct buffer size * no trait abstraction * similar to decimal
76b8c3a
to
110d35e
Compare
Can you either have a look or reassign @tgross35? Got a followup pending on this one... |
I'll reassign for now, but if nobody beats me to it I'll take a look on Monday r? libs (leaving myself assigned so it stays on my list) |
By the way; if you are interested, we could use some int (and float) formatting and parsing benchmarks at https://github.com/rust-lang/rustc-perf/blob/2120e3b7b8996e96858b88edefea371679a3d415/collector/runtime-benchmarks/fmt/src/main.rs (I just learned that is possible), which would mean they get run as part of our pretty extensive perf infra rather than you needing to post the results of local runs. |
Interesting indeed @tgross35. The specialized benchmarks we have at the moment (such as |
Have the implementation match its decimal counterpart.
Original Performance
Patched Performance
r? tgross35