Skip to content
Snippets Groups Projects
Commit aba6ca46 authored by Rob Davies's avatar Rob Davies
Browse files

Improve hwrite efficiency for large writes when the buffer is empty

When the buffer is empty and the request won't fit, go straight
to hwrite2() without trying to copy data into the buffer first.
Avoids a memcpy and an extra call to fp->backend->write().
parent 49b6d959
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment