Closed
Description
fmt
was written in the stone ages and is not fast. It should be rewritten to use either an io::Writer
or some kind of string builder, and it should use stack allocation everywhere it can. It should not emit lots of inline code to bloat up function bodies, instead delegating to core::extfmt
functions marked with #[inline]
, leaving the amount of inlining up to LLVM.