Revision c8bc3cd7 qdict.h

b/qdict.h
18 18
#include "qemu-queue.h"
19 19
#include <stdint.h>
20 20

  
21
#define QDICT_HASH_SIZE 512
21
#define QDICT_BUCKET_MAX 512
22 22

  
23 23
typedef struct QDictEntry {
24 24
    char *key;
......
29 29
typedef struct QDict {
30 30
    QObject_HEAD;
31 31
    size_t size;
32
    QLIST_HEAD(,QDictEntry) table[QDICT_HASH_SIZE];
32
    QLIST_HEAD(,QDictEntry) table[QDICT_BUCKET_MAX];
33 33
} QDict;
34 34

  
35 35
/* Object API */

Also available in: Unified diff