소스 검색

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

ambrop7 13 년 전
부모
커밋
05a7887de3
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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;