summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2008-11-03 01:52:51 +0000
committererdgeist <>2008-11-03 01:52:51 +0000
commit272abf8430ab0e6e1ff29896d69784f15958d827 (patch)
tree46473d62fd510cc2a88437f7a0342f1f4a6f6d92
parent18b6e9b212364b4ce5f00c126327cfde74b6c9bd (diff)
Try to use much less memory and hope for speedups
-rw-r--r--ot_vector.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ot_vector.h b/ot_vector.h
index 32ec26a..1d42dd0 100644
--- a/ot_vector.h
+++ b/ot_vector.h
@@ -7,10 +7,10 @@
7#define __OT_VECTOR_H__ 7#define __OT_VECTOR_H__
8 8
9/* These defines control vectors behaviour */ 9/* These defines control vectors behaviour */
10#define OT_VECTOR_MIN_MEMBERS 4 10#define OT_VECTOR_MIN_MEMBERS 2
11#define OT_VECTOR_GROW_RATIO 8 11#define OT_VECTOR_GROW_RATIO 2
12#define OT_VECTOR_SHRINK_THRESH 6 12#define OT_VECTOR_SHRINK_THRESH 4
13#define OT_VECTOR_SHRINK_RATIO 4 13#define OT_VECTOR_SHRINK_RATIO 2
14 14
15typedef struct { 15typedef struct {
16 void *data; 16 void *data;