Ver código fonte

ncd: NCDStringIndex: increase initial capacity and size of bucket array

ambrop7 13 anos atrás
pai
commit
05a7887de3
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      ncd/NCDStringIndex.h

+ 2 - 2
ncd/NCDStringIndex.h

@@ -36,8 +36,8 @@
 #include <structure/CHash.h>
 #include <base/DebugObject.h>
 
-#define NCDSTRINGINDEX_INITIAL_CAPACITY 1
-#define NCDSTRINGINDEX_INITIAL_HASH_BUCKETS 1
+#define NCDSTRINGINDEX_INITIAL_CAPACITY 256
+#define NCDSTRINGINDEX_INITIAL_HASH_BUCKETS 256
 
 typedef int NCD_string_id_t;