Zig gets improved float parser/formatter
|
Zig's standard library has merged an improved floating-point formatting and parsing algorithm based on research by Russ Cox that is approximately 2x faster than the previous implementation for formatting and 10-20% faster than alternative algorithms. The new implementation supports arbitrary float types beyond f64 and shows significant performance gains for large floats like f128, which previously relied on slower big integer fallbacks.