We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, i just tried to write a base64 codec and the performance has improved compared to your project.
feel free review code or copy code to this project :)
Code: https://github.com/shadowsocks/crypto2/blob/dev/src/base64.rs
Result:
// Your Project test base64::bench_crate_decode ... bench: 31 ns/iter (+/- 5) test base64::bench_crate_encode ... bench: 14 ns/iter (+/- 1) // Me test base64::bench_decode ... bench: 7 ns/iter (+/- 2) test base64::bench_encode ... bench: 4 ns/iter (+/- 0)
The text was updated successfully, but these errors were encountered:
That's great! I'm squeezed for time right now so it'll be a while until I get to it, but thanks for the contribution!
Sorry, something went wrong.
I don't know if you did any performance improvements since, but I did a benchmarks and base64 clearly faster than crypto2's implementation: https://dkomanov.medium.com/base64-encoding-performance-java-vs-rust-c59f438411f0.
No branches or pull requests
Hi, i just tried to write a base64 codec and the performance has improved compared to your project.
feel free review code or copy code to this project :)
Code: https://github.com/shadowsocks/crypto2/blob/dev/src/base64.rs
Result:
The text was updated successfully, but these errors were encountered: