| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-09-19 | Removed `to_hash` conversion method. | Yukihiro "Matz" Matsumoto | |
| 2018-09-06 | Need to check if merging hash is empty; fix #4107 | Yukihiro "Matz" Matsumoto | |
| 2018-08-30 | Add new function `mrb_ensure_hash_type()`; ref #4097 | Yukihiro "Matz" Matsumoto | |
| Unlike `mrb_check_hash_type()` that returns `nil` if the argument is not a `Hash`, `mrb_ensure_hash_type()` raises a `TypeError` exception. | |||
| 2018-08-25 | Add a new function `mrb_hash_merge()`. | Yukihiro "Matz" Matsumoto | |
| 2018-07-30 | Keyword argument implemented. | Yukihiro "Matz" Matsumoto | |
| 2018-06-01 | Instead of defining `Hash#dup`, we should define `Hash#initialize_copy`. | Yukihiro "Matz" Matsumoto | |
| `Hash#clone` did not work properly; fix #4030 | |||
| 2017-12-12 | Modifying frozen objects will raise `FrozenError`. | Yukihiro "Matz" Matsumoto | |
| `FrozenError` is a subclass of `RuntimeError` which used to be raised. [Ruby2.5] | |||
| 2017-11-19 | Leave `hash->ht` to be `NULL` if initial capacity is zero. | Yukihiro "Matz" Matsumoto | |
| 2017-10-11 | Add MRB_WITHOUT_FLOAT | YAMAMOTO Masaya | |
| 2017-09-27 | fix: src\hash.c(139): warning C4244: 'function': conversion from 'mrb_int' ↵ | Tomasz Dąbrowski | |
| to 'khint_t', possible loss of data | |||
| 2017-09-27 | fix: src\hash.c(40): warning C4244: '=': conversion from 'mrb_int' to ↵ | Tomasz Dąbrowski | |
| 'khint_t', possible loss of data | |||
| 2017-08-10 | Use standard hash functions in `mrb_hash_ht_hash_func`. | Yukihiro "Matz" Matsumoto | |
| 2017-08-05 | Prevented resizing just created hashes in specific size ranges | Christopher Aue | |
| 2017-08-04 | Improved speed of creating new hash tables | Christopher Aue | |
| 2017-07-27 | Embed small size array elements in the heap. | Yukihiro "Matz" Matsumoto | |
| It reduces the memory consumption and sometimes improve the performance as well. For example, the consumed memory size of `bench/bm_ao_render.rb` is reduced from 1.2GB to 1GB, and its total execution time become 18.795 sec from 22.229 sec. | |||
| 2017-06-19 | Use `mrb_int` instead of `int` as argument to `mrb_hash_new_capa`. | Yukihiro "Matz" Matsumoto | |
| 2017-04-18 | Hash#dup didn't check if internal khash is initialized; fix #3609 | Yukihiro "Matz" Matsumoto | |
| 2017-04-01 | Pacify signed warning; ref #3565 | Yukihiro "Matz" Matsumoto | |
| 2017-03-31 | Avoid crash if hv.n is greater than kh_size(h); fix #3565 | Yukihiro "Matz" Matsumoto | |
| The resulting behavior is different from CRuby, but modifying hash key afterwards is undefined behavior in ISO spec. | |||
| 2017-03-28 | Renumber hash keys during dup since there may be duplicates. | Clayton Smith | |
| 2017-02-15 | Use mrb_funcall_argv() instead of mrb_funcall() | Yukihiro "Matz" Matsumoto | |
| 2017-02-14 | Do not use mrb_funcall() if Hash#default is not overridden; ref #3421 | Yukihiro "Matz" Matsumoto | |
| This change reduces the recursion level, but does not solve the stack overflow issue entirely. | |||
| 2017-01-05 | Add mrb_hash_modify() to Hash#{delete,clear}; ref #3370 | Yukihiro "Matz" Matsumoto | |
| This issue was reported by https://hackerone.com/an0n-j | |||
| 2016-12-12 | rename prefix RBASIC_ to MRB_; ref #3340 | Yukihiro "Matz" Matsumoto | |
| 2016-12-11 | Implement Object#freeze | Takashi Kokubun | |
| 2016-12-07 | Copy default_proc by Hash#dup. | Shugo Maeda | |
| 2016-11-24 | always call Hash#default if no key found; fix #3272 | Yukihiro "Matz" Matsumoto | |
| 2016-11-12 | Hash#[] to call Hash#default | Yukihiro "Matz" Matsumoto | |
| 2016-08-01 | make mrb_hash_values() a public API function | William Light | |
| 2016-02-05 | Hash: check flags before accessing ifnone; ref #980 | Yukihiro "Matz" Matsumoto | |
| 2016-01-07 | move KHASH_DECLARE(ht..) to mruby/hash.h; close #3073 | Yukihiro "Matz" Matsumoto | |
| 2015-11-27 | include changed from by quotes ("") to by brackets (<>); close #3032 | Yukihiro "Matz" Matsumoto | |
| 2015-10-20 | Remove obvious warnings from docs | Seba Gamboa | |
| 2015-10-20 | Increasing docs coverage | Seba Gamboa | |
| 2015-09-10 | avoid unnecessary string duplications by checking the frozen flag | Kazuho Oku | |
| 2015-09-10 | freeze the hash key (fixes #2945) | Kazuho Oku | |
| 2014-09-12 | constify pointer from RARRAY_PTR to detect potential write barrier bugs. | Yukihiro "Matz" Matsumoto | |
| if you see compiler errors due to this commit, you'd better to use array-modifying functions, e.g. mrb_ary_set() or mrb_ary_push(), otherwise you might see nasty GC bugs in the future. if you are sure what you are doing, replace `RARRAY_PTR(ary)` by `mrb_ary_ptr(ary)->ptr`. but be warned. | |||
| 2014-08-27 | Add a missing space after ",". | Tatsuhiko Kubo | |
| 2014-08-13 | refactor mrb_hash_shift, num_pow, flo_eq, flo_finite_p method | kkkkkt | |
| 2014-08-04 | add MRB_API modifiers to mruby API functions | Yukihiro "Matz" Matsumoto | |
| 2014-07-03 | Always return non-NULL in `mrb_hash_tbl`. | take_cheeze | |
| 2014-06-13 | need to call write barrier on hash keys; ref #2375 | Yukihiro "Matz" Matsumoto | |
| 2014-05-18 | Merge pull request #2287 from yui-knk/add-space | Yukihiro "Matz" Matsumoto | |
| Add a space aftre bracket. | |||
| 2014-05-18 | Add a space aftre bracket. | yui-knk | |
| 2014-05-18 | Fix indent in mrb_hash_to_hash() | Jun Hiroe | |
| 2014-05-08 | use mrb_field_write_barrier_value() in hash.c | Yukihiro "Matz" Matsumoto | |
| 2014-04-15 | resolve conflict | Yukihiro "Matz" Matsumoto | |
| 2014-04-13 | use kh_put2 in mrb_hash_set for performance improvement | Yukihiro "Matz" Matsumoto | |
| 2014-04-09 | improve hash function based on #2027; close #2027 | Yukihiro "Matz" Matsumoto | |
| 2014-04-04 | Hash#replace should copy default as well; close #2004 | Yukihiro "Matz" Matsumoto | |
