In copy_file, use a palloc'd buffer instead of just a local char array;
a local array isn't guaranteed to have any particular alignment, and so it could slow down the data transfer.
Showing
Please register or sign in to comment
a local array isn't guaranteed to have any particular alignment, and so it could slow down the data transfer.