aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2022-08-25 11:20:45 +0300
committerkartofen <mladenovnasko0@gmail.com>2022-08-25 11:20:45 +0300
commit3ca0ae80729086a7e483d1eddf8bdbbb46582c29 (patch)
tree1f35fa7399e4a23768c36be31e80535e16d8d07e
parentb6dca5a6ab31476b060bb081cbabeb9dc85023bf (diff)
make example default
-rwxr-xr-xbuild.sh2
-rw-r--r--src/main.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/build.sh b/build.sh
index 46f2dc0..f1befea 100755
--- a/build.sh
+++ b/build.sh
@@ -34,6 +34,6 @@ gcc -o $BIN/gen_chain $FLAGS $SRCD/gen_chain.c
if ! { [[ $RUN -eq 0 ]]; } 2> /dev/null
then
- # $BIN/gen_chain
+ $BIN/gen_chain
$BIN/main
fi
diff --git a/src/main.c b/src/main.c
index 01dfe23..46b9a4c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2,9 +2,9 @@
#include <time.h>
#define PRINT_ITEM_FREQUENCY
-#define PRINT_ON_WALK
+// #define PRINT_ON_WALK
// #define SAVE_TO_FILE_ON_WALK "out.txt"
-#define WALK_LEN 100
+#define WALK_LEN 10000
#define ITEM_CAP 400
int ITEMS = 0;