psvri opened a new pull request, #5401: URL: https://github.com/apache/arrow-rs/pull/5401
# Which issue does this PR close? Closes #. # Rationale for this change We can use [ryu](https://github.com/dtolnay/ryu) crate to cast floats to string for better performance. Ryu is used in crates like csv and serde-json for fast float to string conversion. # What changes are included in this PR? I am using ryu to cast floats to string. The perf numbers are as below ``` cast f32 to string 512 time: [18.055 µs 18.458 µs 18.932 µs] change: [-26.059% -24.296% -22.401%] (p = 0.00 < 0.05) Performance has improved. Found 14 outliers among 100 measurements (14.00%) 8 (8.00%) high mild 6 (6.00%) high severe cast f64 to string 512 time: [20.884 µs 21.154 µs 21.470 µs] change: [-42.782% -41.722% -40.605%] (p = 0.00 < 0.05) Performance has improved. ``` # Are there any user-facing changes? No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
