Browse Source

reduce allocs for small noMMU systems

Waldemar Brodkorb 1 year ago
parent
commit
fe5ec03feb
1 changed files with 2 additions and 2 deletions
  1. 2 2
      test/malloc/malloc.c

+ 2 - 2
test/malloc/malloc.c

@@ -4,8 +4,8 @@
 #include <string.h>
 #include <string.h>
 #include <stdio.h>
 #include <stdio.h>
 
 
-#define N_PTRS 1000
-#define N_ALLOCS 1000
+#define N_PTRS 100
+#define N_ALLOCS 100
 #define MAX_SIZE 0x10000
 #define MAX_SIZE 0x10000
 
 
 #define random_size()	(random()%MAX_SIZE)
 #define random_size()	(random()%MAX_SIZE)