Efficient buffered output