Avoid v_printf()

The v_printf() function calls sprintf(), which is quite large. If code size is a concern, you can save thousands of bytes by avoiding v_printf() (and sprintf() and its cousins, scanf(), printf(), etc.). Use the v_st... family of window output functions as the standard output function and do explicit conversions from numbers to strings when required.


Home Contents Previous Next