aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/split_for_sort.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/split_for_sort.c b/src/split_for_sort.c
index 55f396f..36a90af 100644
--- a/src/split_for_sort.c
+++ b/src/split_for_sort.c
@@ -21,9 +21,11 @@
/* Also used for paths => at least PATH_MAX */
#define BUFFERSIZE 4096
-/* performance optimization. distribute the content across #alnumchars+1 (the _),
- * ((unsigned char)name[prefix_length])%LISTS_NR */
-#define LISTS_NR 63
+/* performance optimization, waste a bit of memory.
+ * ASCII z is 122 and the largest of the allowed values,
+ * for portability with other encodings % by this for safety */
+#define LISTS_NR 128
+
/* The arguments will be
* PREFIX - file prefix...