
Mathias Gaunard wrote:
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. Yes lack of understanding. Unfortunately I could only go on what you had written above, apparently you intend something different then what it appeared to suggest. My apologies.
Best regards, Richard Day