git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1140
fefdeb5f-60dc-0310-8127-
8f9354f1896f
#include "hashmap.h"
-#define BUCKETS 1023
+#define BUCKETS 127
struct hashmap_entry {
struct hashmap_entry *next, *previous, *bucket_next, *bucket_previous;
s = pa_xnew(pa_idxset, 1);
s->hash_func = hash_func ? hash_func : pa_idxset_trivial_hash_func;
s->compare_func = compare_func ? compare_func : pa_idxset_trivial_compare_func;
- s->hash_table_size = 1023;
+ s->hash_table_size = 127;
s->hash_table = pa_xmalloc0(sizeof(idxset_entry*)*s->hash_table_size);
s->array = NULL;
s->array_size = 0;