|
Boost : |
From: Richard Day (richardvday_at_[hidden])
Date: 2007-06-19 17:41:32
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk