This is the mail archive of the
mailing list for the GCC project.
Re: Preparsing sprintf format strings
On Wed, Oct 10, 2007 at 04:22:45PM -0400, Kaveh R. GHAZI wrote:
> > But these things are rarely going to be a huge win, and I get
> > the impression that competing compiler developers only do them
> > when they help with standard benchmarks.
> Their loss. I agree with avoiding these micro opts when they cause bloat.
> But when you win in both size and speed, IMHO we should do it.
Certainly. I think anything that turns one call into one cheaper
call will always win, and we already do a bit of that (as you say,
this wins for both size and speed).