]> git.ipfire.org Git - thirdparty/opentracker.git/commitdiff
After studying opentracker live data, I decided to radically reduce default allocatio...
authorerdgeist <>
Fri, 19 Oct 2007 14:41:30 +0000 (14:41 +0000)
committererdgeist <>
Fri, 19 Oct 2007 14:41:30 +0000 (14:41 +0000)
trackerlogic.h

index b94679e04fa8e6bd54c028c9179fd2318959f27c..81bd9133d7b53dd55586176412d8eca0f95f3f50 100644 (file)
@@ -45,9 +45,9 @@ typedef time_t         ot_time;
 extern  time_t g_now;
 #define NOW              (g_now/OT_POOLS_TIMEOUT)
 
-#define OT_VECTOR_MIN_MEMBERS   16
-#define OT_VECTOR_GROW_RATIO    4
-#define OT_VECTOR_SHRINK_THRESH 5
+#define OT_VECTOR_MIN_MEMBERS   4
+#define OT_VECTOR_GROW_RATIO    8
+#define OT_VECTOR_SHRINK_THRESH 6
 #define OT_VECTOR_SHRINK_RATIO  4
 typedef struct {
   void   *data;