error: store the error messages in a reusable buffer
Instead of allocating a brand new buffer for each error string we want to store, we can use a per-thread buffer to store the error string and re-use the underlying storage. We already use the buffer to format the string, so this mostly makes that more direct.
Showing
Please
register
or
sign in
to comment