Allocate smaller buffer by default
This commit is contained in:
parent
465f879437
commit
1ff08c0189
|
@ -50,7 +50,7 @@ MAYBE(intmax_t_array) convert_to_numbers(char *line) {
|
||||||
|
|
||||||
struct intmax_t_array numbers;
|
struct intmax_t_array numbers;
|
||||||
numbers.length = 0;
|
numbers.length = 0;
|
||||||
numbers.alloc_size = 64 * sizeof(intmax_t);
|
numbers.alloc_size = 8 * sizeof(intmax_t);
|
||||||
numbers.data = TRY_MALLOC(numbers.alloc_size * sizeof(intmax_t));
|
numbers.data = TRY_MALLOC(numbers.alloc_size * sizeof(intmax_t));
|
||||||
|
|
||||||
char *strtok_saveptr = NULL;
|
char *strtok_saveptr = NULL;
|
||||||
|
|
Loading…
Reference in New Issue