2 ms·
A quick google gave me https://gcc.gnu.org/ml/gcc/2007-10/msg00073.html https://gcc.gnu.org/ml/gcc/2007-10/msg00073.html, so at least somebody thought of it ove
by Someone 12y ago
A quick google gave me https://gcc.gnu.org/ml/gcc/2007-10/msg00073.html https://gcc.gnu.org/ml/gcc/2007-10/msg00073.html, so at least somebody thought of it over 7 years ago.
Also, http://www.ciselant.de/projects/gcc_printf/gcc_printf.html#printf_puts_enhancements:url http://www.ciselant.de/projects/gcc_printf/gcc_printf.html#p... shows gcc did something in this area 9 years ago.
http://www.cygwin.com/ml/libc-hacker/2001-08/msg00003.html http://www.cygwin.com/ml/libc-hacker/2001-08/msg00003.html indicates gcc had printf optimizations in 2001.
I expect there are older examples.
qrintf seems to be 'just' a more aggressive version of this.
I guess being more aggressive makes sense in applications that do a lot of simple string formatting.