commit | 4c346919a9b238748de2ee85ce6d749fc3cf7059 | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Fri Aug 10 22:18:49 2012 -0400 |
committer | Rich Felker <dalias@aerifal.cx> | Fri Aug 10 22:18:49 2012 -0400 |
tree | 85cf458d4e935e8f80f73611f4fca68708872204 | |
parent | e3ebe7db5de64c193202f1c5b321c9a470e730c5 [diff] |
trivial optimization to printf: avoid wasted call frame 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.