From ca35745530928497fc02dca5d72d2269340f11ec Mon Sep 17 00:00:00 2001 From: Bytesarg Date: Tue, 26 Feb 2019 15:47:18 +0100 Subject: [PATCH] Update README.md --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 65052a6..01ad52c 100644 --- a/README.md +++ b/README.md @@ -5,4 +5,11 @@ The binary takes a file (in.bin) and applies all operations on the data in this Currently the file is read in binary mode and converted to a long-array for sorting purposes. Insertion-sort is disabled when over 150k elements are loaded. -Selection-sort is disabled when over 250k elements are loaded. \ No newline at end of file +Selection-sort is disabled when over 250k elements are loaded. + +When generating input-data: +* dd if=/dev/urandom of=in.bin bs=8 count=150000 (for all sorting algorithms) +* dd if=/dev/urandom of=in.bin bs=8 count=250000 (to exclude insertion-sort) +* anything with count above 250000 disables both. + +Currently multithreaded merge-sort uses hardcoded 256 threads \ No newline at end of file -- GitLab