Explorar o código

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

ambrop7 %!s(int64=13) %!d(string=hai) anos
pai
achega
05a7887de3
Modificáronse 1 ficheiros con 2 adicións e 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;