Explorar el Código

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

ambrop7 hace 13 años
padre
commit
05a7887de3
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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;