
19 Jun
2007
19 Jun
'07
5:58 p.m.
Richard Day wrote:
Something that would use meta-programming to optimize the generation of the formatted string would be way better than printf. How does this improve on printf ? Not that I favor printf but I dont see how this is any better. Speed wise yea much better at run time at least, printf is a hog on cpu cycles. Do you plan on generating every possible string at compile time ? I call that code bloat.
I call that lack of understanding. What we remove is simply the parsing of the format description, which can be done at compile-time.