This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch to suggest putc/fputs over printf("string") or printf("\n")
- To: law at cygnus dot com
- Subject: Re: patch to suggest putc/fputs over printf("string") or printf("\n")
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Sat, 16 Jan 1999 11:09:15 +0000 (GMT)
- Cc: egcs at tantalophile dot demon dot co dot uk, ghazi at caip dot rutgers dot edu, egcs-patches at cygnus dot com, egcs at cygnus dot com
> > - putc is almost always larger than printf, though much faster.
That should probably be fputs?
> Huh? Consider how much conversion code you bring in to handle floating point
> via printf... It's utterly amazing.
Well, if printf is used anyways, but fputs isn't, that's explains it.