$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2007-06-19 13:58:15
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.