mirror of
git://erdgeist.org/opentracker
synced 2025-07-23 08:55:19 +02:00
Try to use much less memory and hope for speedups
This commit is contained in:
parent
18b6e9b212
commit
272abf8430
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue