aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_stream.c
AgeCommit message (Collapse)AuthorFilesLines
2022-01-28Fix handling of deferred write errors that happen when closingDavid Robillard1-13/+14
2022-01-28Use simpler names for I/O function typesDavid Robillard1-4/+4
2022-01-28Use more human-readable status codesDavid Robillard1-1/+1
2022-01-28Simplify output stream APIDavid Robillard1-0/+89
This makes the paging mechanism an internal detail once again. While it's conceptually elegant to simply have a single write interface and have the block dumper just be another implementation of that, unfortunately it is not practical. The inlining of serd_block_dumper_write() is a significant performance boost, because it avoids a non-inlinable function call of overhead per character. Compared to the SerdByteSink approach, this removes the burden and overhead of needing to dynamically allocate the structure itself.