trivial optimization to printf: avoid wasted call frame
authorRich Felker <dalias@aerifal.cx>
Sat, 11 Aug 2012 02:18:49 +0000 (22:18 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 11 Aug 2012 02:18:49 +0000 (22:18 -0400)
amusingly, this cuts more than 10% off the run time of printf("a"); on
the machine i tested it on.

sadly the same optimization is not possible for snprintf without
duplicating all the pseudo-FILE setup code, which is not worth it.


No differences found