diff options
author | Jim Meyering <jim@meyering.net> | 1995-03-21 03:50:10 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-03-21 03:50:10 +0000 |
commit | 80fab638f1136ae9939409b48c2297b725745c00 (patch) | |
tree | a8be1e884933fccf14951653fb537f6db71a57b4 | |
parent | 5ddea12690d04f37e9f2313c366791e1c1534943 (diff) | |
download | coreutils-80fab638f1136ae9939409b48c2297b725745c00.tar.xz |
merge with 1.11.e
-rw-r--r-- | src/sort.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sort.c b/src/sort.c index a74f05992..3c0b3a5da 100644 --- a/src/sort.c +++ b/src/sort.c @@ -100,17 +100,17 @@ static struct month /* Initial buffer size for in core sorting. Will not grow unless a line longer than this is seen. */ -static int sortalloc = 4 * 1024 * 1024; +static int sortalloc = 512 * 1024; /* Initial buffer size for in core merge buffers. Bear in mind that up to NMERGE * mergealloc bytes may be allocated for merge buffers. */ -static int mergealloc = 64 * 1024; +static int mergealloc = 16 * 1024; /* Guess of average line length. */ static int linelength = 30; /* Maximum number of elements for the array(s) of struct line's, in bytes. */ -#define LINEALLOC (1024 * 1024) +#define LINEALLOC (256 * 1024) /* Prefix for temporary file names. */ static char *temp_file_prefix; |