mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
filesys.c: Use scm_sendfile to copy files
Use scm_sendfile instead of read-write loop. This moves the work into the kernel, improving performance. This implements Ludovic's suggestion from https://debbugs.gnu.org/68504 * libguile/filesys.c (scm_copy_file2): Use scm_sendfile. [rlb@defaultvalue.org: add NEWS]
This commit is contained in:
parent
b3b7477128
commit
4f39181b2f
2 changed files with 18 additions and 10 deletions
4
NEWS
4
NEWS
|
@ -45,6 +45,10 @@ for-delimited-from-port and for-line-in-file. Of these, for-line-in-file
|
|||
is helpful in the common situation where you want a procedure applied to
|
||||
every line in a file.
|
||||
|
||||
* Performance improvements
|
||||
|
||||
** `copy-file` now relies on `sendfile` rather than a read/write loop
|
||||
|
||||
* Changes to the distribution
|
||||
|
||||
* Build system changes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue