save some memory by increasing the dynamic array at a slower rate
authorLennart Poettering <lennart@poettering.net>
Fri, 27 Jun 2008 17:12:03 +0000 (19:12 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 27 Jun 2008 17:12:03 +0000 (19:12 +0200)
src/pulsecore/dynarray.c

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