Paul Eggert
25719a3315
Improve performance a bit by optimizing away
...
unnecessary system calls and going to a block size of at least
8192 (on normal hosts, anyway). This improved performance 5% on my
Debian stable host (2.4.27 kernel, x86, copying from root
ext3 file system to itself).
Include "buffer-lcm.h".
(copy_reg): Omit last argument. All callers changed.
Use xmalloc to allocate rather than trusting alloca
(which is unwise with large block sizes).
Declare locals more locally, if possible.
Use uintptr_t words instead of int words, for a bit more speed
when looking for null blocks on 64-bit hosts.
Optimize away reads of zero bytes on regular files.
In the typical case, insist on 8 KiB buffers, at least.
Avoid unnecessary extra call to fstat when checking for sparse files.
Avoid now-unnecessary cast to off_t, and "0L".
Avoid unnecessary test of *new_dst when checking for same owner
and group.
2005-11-24 06:49:44 +00:00
..
2005-10-26 21:46:24 +00:00
2005-06-02 05:17:24 +00:00
2005-07-11 18:21:11 +00:00
2005-05-30 07:31:31 +00:00
2005-06-29 16:27:37 +00:00
2005-05-30 07:31:51 +00:00
2005-05-14 07:58:31 +00:00
2005-05-14 07:58:31 +00:00
2005-05-14 07:58:31 +00:00
2005-07-11 18:21:54 +00:00
2005-07-09 22:10:38 +00:00
2005-11-24 06:49:44 +00:00
2005-07-03 09:31:19 +00:00
2005-06-02 05:17:24 +00:00
2005-06-02 05:17:24 +00:00
2005-09-16 07:50:33 +00:00
2005-09-10 13:56:45 +00:00
2005-08-12 07:16:25 +00:00
2005-09-16 08:08:00 +00:00
2005-09-05 15:06:37 +00:00
2005-10-31 08:39:14 +00:00
2005-10-15 09:56:03 +00:00
2005-10-24 10:39:46 +00:00
2005-09-05 17:11:39 +00:00
2005-06-02 05:17:24 +00:00
2003-03-08 10:14:33 +00:00
2005-11-04 10:08:51 +00:00
2005-05-14 07:58:31 +00:00
2005-05-14 07:58:31 +00:00
2005-10-24 07:28:39 +00:00
2005-09-13 22:30:56 +00:00
2005-09-17 09:14:48 +00:00
2005-10-03 12:12:14 +00:00
2005-07-18 07:52:37 +00:00
2005-05-14 07:58:31 +00:00
2005-08-12 07:29:38 +00:00
2005-09-21 16:43:17 +00:00
2005-05-14 07:58:31 +00:00
2005-07-11 18:23:23 +00:00
2005-06-16 23:46:27 +00:00
2005-08-23 15:06:55 +00:00
2005-07-08 22:55:44 +00:00
2005-09-23 20:50:49 +00:00
2005-08-12 07:16:25 +00:00
2005-05-14 07:58:31 +00:00
2003-07-06 06:08:40 +00:00
2005-05-14 07:58:31 +00:00
2005-11-16 22:32:45 +00:00
2005-05-14 07:58:31 +00:00
2005-11-17 12:28:34 +00:00
2005-10-23 15:23:56 +00:00
2005-11-22 15:33:39 +00:00
2005-10-27 16:27:04 +00:00
2005-06-14 23:55:47 +00:00
2005-05-14 07:58:31 +00:00
2005-05-14 07:58:31 +00:00
2005-11-02 21:52:33 +00:00
2005-09-09 20:47:46 +00:00
2005-09-09 21:09:48 +00:00
2005-08-12 08:25:52 +00:00
2005-09-23 20:13:49 +00:00
2005-05-14 07:58:31 +00:00
2005-05-30 07:05:07 +00:00
2005-09-22 07:01:07 +00:00
2005-09-16 07:50:33 +00:00
2005-05-14 07:58:31 +00:00
2005-07-03 08:46:05 +00:00
2005-09-09 21:11:07 +00:00
2005-06-02 05:15:07 +00:00
2005-06-02 05:11:32 +00:00
2005-11-23 04:52:48 +00:00
2005-11-02 21:51:57 +00:00
2005-11-02 21:53:20 +00:00
2005-09-22 06:56:21 +00:00
2005-06-16 21:33:43 +00:00
2005-05-14 07:58:31 +00:00
2005-09-24 13:40:37 +00:00
2005-06-16 21:35:40 +00:00
2005-10-07 18:48:28 +00:00
2005-07-11 18:24:42 +00:00
2005-10-15 10:15:48 +00:00
2005-07-09 07:39:04 +00:00
2005-08-23 15:09:13 +00:00
2005-07-11 18:25:23 +00:00
2005-05-14 07:58:31 +00:00
2005-09-28 22:11:06 +00:00
2004-08-03 22:40:15 +00:00
2005-10-24 16:07:36 +00:00
2005-11-01 23:05:29 +00:00
2005-07-11 18:26:52 +00:00
2005-09-16 07:42:56 +00:00
2005-11-01 23:42:36 +00:00
2005-07-11 18:27:10 +00:00
2005-07-18 07:53:05 +00:00
2005-05-14 07:58:31 +00:00
2005-06-02 05:17:24 +00:00
2005-09-15 19:57:04 +00:00
2005-10-24 07:28:39 +00:00
2005-07-05 06:32:54 +00:00
2005-05-14 07:58:31 +00:00
2005-08-23 15:03:48 +00:00
2005-05-14 07:58:31 +00:00
2005-08-13 22:47:48 +00:00
2005-03-27 08:40:30 +00:00
2005-10-15 15:01:22 +00:00
2005-05-14 07:58:31 +00:00
2005-05-14 07:58:31 +00:00