bug#76623: [PATCH] filesys.c: Use scm_sendfile to copy files.

2025-03-25 Thread Ludovic Courtès
Rob Browning skribis: > Ludovic Courtès writes: > >> The patch LGTM but I realize there’s no real ‘copy-file’ test. Not your >> fault but would you mind adding one or two tests? > > I went ahead and added a commit to include some simple tests and pushed > that and this to main. Thank you! Lud

bug#76623: [PATCH] filesys.c: Use scm_sendfile to copy files.

2025-03-19 Thread Rob Browning
Ludovic Courtès writes: > The patch LGTM but I realize there’s no real ‘copy-file’ test. Not your > fault but would you mind adding one or two tests? I went ahead and added a commit to include some simple tests and pushed that and this to main. -- Rob Browning rlb @defaultvalue.org and @debia

bug#76623: [PATCH] filesys.c: Use scm_sendfile to copy files.

2025-02-28 Thread Ludovic Courtès
Hi, Tomas Volf <~@wolfsden.cz> skribis: > Use scm_sendfile instead of read-write loop. This moves the work into > the kernel, improving performance. This implements Ludovic's suggestion > from bug 68504. > > * libguile/filesys.c (scm_copy_file2): Use scm_sendfile. Nice! I had to apply the cha

bug#76623: [PATCH] filesys.c: Use scm_sendfile to copy files.

2025-02-27 Thread Tomas Volf
Use scm_sendfile instead of read-write loop. This moves the work into the kernel, improving performance. This implements Ludovic's suggestion from bug 68504. * libguile/filesys.c (scm_copy_file2): Use scm_sendfile. --- libguile/filesys.c | 21 + 1 file changed, 13 insertions