Closed ghuls closed 2 years ago
Thanks for the pointer! I'll double check and re-run some benchmarks but assuming all goes well I will remove the fast-float dependency and just use the standard library.
Hmm, we need partial parsing. I'm not sure if the standard library has this for f64. I'll look around some more.
Unfortunately I don't think I can remove the fast-float dependency because awk's string conversions work with any prefix to a string (parse_partial
in fast-float). Thanks for the pointer though, this was good to read up on.
fast-float
can be removed when using a recent rust compiler. Similar algoritm now in standard library: https://www.reddit.com/r/rust/comments/omelz4/making_rust_float_parsing_fast_libcore_edition/ https://github.com/pola-rs/polars/issues/1010