ソースを参照

reduce allocs for small systems with f.e. 64 MB RAM

Waldemar Brodkorb 9 ヶ月 前
コミット
d671070f6c
1 ファイル変更1 行追加1 行削除
  1. 1 1
      test/malloc/malloc.c

+ 1 - 1
test/malloc/malloc.c

@@ -5,7 +5,7 @@
 #include <stdio.h>
 
 #define N_PTRS 1000
-#define N_ALLOCS 10000
+#define N_ALLOCS 1000
 #define MAX_SIZE 0x10000
 
 #define random_size()	(random()%MAX_SIZE)