You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The formatter overhead is simply too large. FWIW, I have rust-strconv to experiment with numeric conversions (for now int2dec only) and the best strategy easily overshadows the naive early-exit algorithm in use in the stdlib, but it only translates to about ~10% speedup with a formatter.
The current API also forces both ftoa/itoa to allocate their Vec<u8> outputs on each and every calls, which is a kind of perf killer. Callers should eventually be able to provide with their own large enough buffers (and strconv with a few sizing helpers).
The text was updated successfully, but these errors were encountered: