Improve Hash table using variable sized segments.

parent 180b73fe
...@@ -18,7 +18,7 @@ MRB_BEGIN_DECL ...@@ -18,7 +18,7 @@ MRB_BEGIN_DECL
struct RHash { struct RHash {
MRB_OBJECT_HEADER; MRB_OBJECT_HEADER;
struct iv_tbl *iv; struct iv_tbl *iv;
struct seglist *ht; struct htable *ht;
}; };
#define mrb_hash_ptr(v) ((struct RHash*)(mrb_ptr(v))) #define mrb_hash_ptr(v) ((struct RHash*)(mrb_ptr(v)))
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment