save some memory by increasing the dynamic array at a slower rate

This commit is contained in:
Lennart Poettering 2008-06-27 19:12:03 +02:00
parent c0f97aa580
commit 3db7dcb962

View file

@ -31,8 +31,8 @@
#include "dynarray.h" #include "dynarray.h"
/* If the array becomes to small, increase its size by 100 entries */ /* If the array becomes to small, increase its size by 25 entries */
#define INCREASE_BY 100 #define INCREASE_BY 25
struct pa_dynarray { struct pa_dynarray {
void **data; void **data;