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
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.
This doesn't seem to have been nominated, but had a milestone attached. Does this really need to be on production-ready? Is fmt! usually a huge performance bottleneck? Re-nominating so we can discuss.
This is currently underway with the new ifmt! syntax extension. While not completely done, I think that the remaining progress of that extension is better tracked in the #2249 metabug.
Activity
brson commentedon Sep 24, 2012
It should also probably use traits to work with more types, per #1653
catamorphism commentedon Mar 26, 2013
Not critical for 0.6, de-milestoning
catamorphism commentedon Jun 3, 2013
This doesn't seem to have been nominated, but had a milestone attached. Does this really need to be on production-ready? Is fmt! usually a huge performance bottleneck? Re-nominating so we can discuss.
graydon commentedon Jun 20, 2013
accepted for backwards-compatible milestone
alexcrichton commentedon Aug 11, 2013
This is currently underway with the new
ifmt!syntax extension. While not completely done, I think that the remaining progress of that extension is better tracked in the #2249 metabug.Parse variadics correctly
Merge rust-lang#3576