1
0
mirror of git://erdgeist.org/opentracker synced 2025-01-27 07:06:45 +00:00

Try to use much less memory and hope for speedups

This commit is contained in:
erdgeist 2008-11-03 01:52:51 +00:00
parent 18b6e9b212
commit 272abf8430

View File

@ -7,10 +7,10 @@
#define __OT_VECTOR_H__
/* These defines control vectors behaviour */
#define OT_VECTOR_MIN_MEMBERS 4
#define OT_VECTOR_GROW_RATIO 8
#define OT_VECTOR_SHRINK_THRESH 6
#define OT_VECTOR_SHRINK_RATIO 4
#define OT_VECTOR_MIN_MEMBERS 2
#define OT_VECTOR_GROW_RATIO 2
#define OT_VECTOR_SHRINK_THRESH 4
#define OT_VECTOR_SHRINK_RATIO 2
typedef struct {
void *data;