]> code.delx.au - pulseaudio/commitdiff
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 bc7716db1ca41fe839cb0441991338afa1f3dc28..69d835af098a50cfad24d3398b016b139f691f7f 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;