Using sys/sendfile.h on linux (once all kernels are >= 2.6.33, which unfortunately excludes slc6, or if at some point the presence of the functionality can be easily inferred), it could in principle be possible to dramatically speed up merges of very large files. Destructive/inplace merges could even benefit if there is a "move operator" version of this.
Not urgent at all, but leaving it as an idea for a possible improvement far in the future.
Using sys/sendfile.h on linux (once all kernels are >= 2.6.33, which unfortunately excludes slc6, or if at some point the presence of the functionality can be easily inferred), it could in principle be possible to dramatically speed up merges of very large files. Destructive/inplace merges could even benefit if there is a "move operator" version of this.
Not urgent at all, but leaving it as an idea for a possible improvement far in the future.