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
You are advised to optimize format performance #16
Comments
Humm, but how slow is If it's from 2ns to 0.1ns, I really don't think it's worth it. also, could some of this be moved into a look to save somewhat on verbosity? PR welcome and I'll review from there. |
ok, PR welcome. |
Merged
samuelcolvin
added a commit
that referenced
this issue
Aug 16, 2022
* impl for #16 * use black_box bench * use black_box bench * format add trim_end_matches * clear doc_test * Update benches/main.rs Co-authored-by: Samuel Colvin <samcolvin@gmail.com> * Update benches/main.rs Co-authored-by: Samuel Colvin <samcolvin@gmail.com> * Update benches/main.rs Co-authored-by: Samuel Colvin <samcolvin@gmail.com> * clear annotation * clear repeat code * clear repeat code * tweak display_num_buf Co-authored-by: Samuel Colvin <samcolvin@gmail.com> Co-authored-by: Samuel Colvin <s@muelcolvin.com>
fixed by #17. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are advised to optimize format performance
this change Can improve format performance several times
for example: this code
to My Code
The text was updated successfully, but these errors were encountered: