|
|
|
|
|
by tails4e
413 days ago
|
|
I thought this was going to talk about how printf is implemented. I worked with a tiny embedded processor that had 8k imem, and printf is about 100k alone. Crazy. Switched to a more basic implementation that was around 2k, and ran much,much faster. It seems printf is pretty bloated, though I guess typical people don't care. |
|
That is normally enough to reduce the footprint of printf by more than an order of magnitude, making it compatible with small microcontrollers.