I probably have a misunderstanding one way or another, so this may be a bad question, but whenever I see sketches of projects that are outputting realtime data or in general, I always see the use of buffers.
For example if you were collecting temperature data in realtime from 3 separate sensors, I could understand using a buffer to first collect those 3 samples, storing them in a buffer, and then outputting that buffer over Serial instead of individually at a time.
But for cases where say you're just sampling a single temperature sensor, I would think you wouldn't need or use a buffer since theres no need to organize the data in such way.
Is there a computational advantage of first reading all values, storing them in a buffer, then outputting the buffer to Serial over just printing the values one at a time in a continuous stream? or am I missing something completely?