Improve Hash table using variable sized segments.

This commit is contained in:
Yukihiro "Matz" Matsumoto
2018-11-19 09:30:15 +09:00
parent 180b73fec4
commit 25d390d6cc
2 changed files with 162 additions and 148 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ MRB_BEGIN_DECL
struct RHash {
MRB_OBJECT_HEADER;
struct iv_tbl *iv;
struct seglist *ht;
struct htable *ht;
};
#define mrb_hash_ptr(v) ((struct RHash*)(mrb_ptr(v)))