summaryrefslogtreecommitdiff
path: root/src/sort.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1994-03-25 23:38:00 +0000
committerJim Meyering <jim@meyering.net>1994-03-25 23:38:00 +0000
commit8bf5a6ed183fe03026e0f24b751a8303860c2d55 (patch)
treef3b7990388d4762e89c6f1cbf6580dbe30cee2aa /src/sort.c
parent8bcd22c5104e44227dccd458e6e50940d9e9a462 (diff)
downloadcoreutils-8bf5a6ed183fe03026e0f24b751a8303860c2d55.tar.xz
.
Diffstat (limited to 'src/sort.c')
-rw-r--r--src/sort.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sort.c b/src/sort.c
index 166d8db95..eb480ae0e 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -107,17 +107,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 = 524288;
+static int sortalloc = 4 * 1024 * 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 = 16384;
+static int mergealloc = 64 * 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 262144
+#define LINEALLOC (1024 * 1024)
/* Prefix for temporary file names. */
static char *temp_file_prefix;