From d86b0d1ca20c0a20e4a2c922104371c5bee07b20 Mon Sep 17 00:00:00 2001 From: josch Date: Tue, 15 May 2012 12:52:51 +0200 Subject: [PATCH] random sort and only four tasks per process --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 1d09aee..aa64a2c 100755 --- a/run.sh +++ b/run.sh @@ -7,7 +7,7 @@ fi rm -f score_max -python bruteforce2.py $1 | xargs --max-procs=4 python bruteforce3.py $1 $2 $3 +python bruteforce2.py $1 | sort -r | xargs --max-procs=4 --max-args=4 python bruteforce3.py $1 $2 $3 echo palletViewer -o $1 -p $2 -s $3