index
:
mruby
master
mruby2-draft
removing-y-tab-c
revert-5391-throw
stable
web_export
Lightweight Ruby
realtradam
summary
refs
log
tree
commit
diff
homepage
log msg
author
committer
range
path:
root
/
src
/
hash.c
Age
Commit message (
Expand
)
Author
2020-01-31
Avoid implicit integer casting in `backtrace.c` and `hash.c`.
Yukihiro "Matz" Matsumoto
2020-01-01
Rename `mrb_num_args_error` to `mrb_argnum_error`; ref #4863
Yukihiro "Matz" Matsumoto
2019-12-12
Add `mrb_num_args_error()` for "wrong number of arguments" error
KOBAYASHI Shuji
2019-11-02
Fix argument specs to `Hash`
KOBAYASHI Shuji
2019-09-26
Use type predicate macros instead of `mrb_type` if possible
KOBAYASHI Shuji
2019-09-14
Add a macro `mrb_frozen_p` that points to `MRB_FROZEN_P`.
Yukihiro "Matz" Matsumoto
2019-07-04
It was too early to check `key` for `undef`; ref #4534
Yukihiro "Matz" Matsumoto
2019-06-27
Skip copying delete keys in a hash; fix #4534
Yukihiro "Matz" Matsumoto
2019-06-22
Refine `Hash#rehash` example [ci skip]
KOBAYASHI Shuji
2019-04-14
Fix memory leak for hash table index if occur out of memory
dearblue
2019-04-09
Extract frozen checking to function
KOBAYASHI Shuji
2019-02-11
Should not copy keys&values when a hash table is empty; fix #4270
Yukihiro "Matz" Matsumoto
2018-12-17
Small refactoring of #4188
Yukihiro "Matz" Matsumoto
2018-12-14
Add `mrb_hash_size()` function.
dearblue
2018-12-11
Avoid using floating point number for HT_SEG_INCREASE_RATIO; ref #4182
Yukihiro "Matz" Matsumoto
2018-12-11
Rename `ht_foreach_func` to `mrb_hash_foreach_func`.
Yukihiro "Matz" Matsumoto
2018-12-11
Update comments.
Yukihiro "Matz" Matsumoto
2018-12-11
Add API function `mrb_hash_foreach()` to iterate over items in a hash.
Yukihiro "Matz" Matsumoto
2018-11-19
Removed `to_hash` conversion method.
Yukihiro "Matz" Matsumoto
2018-11-19
Improve Hash table using variable sized segments.
Yukihiro "Matz" Matsumoto
2018-11-16
The key or value object could be reclaimed by GC; fix #4164
Yukihiro "Matz" Matsumoto
2018-10-20
Need to freeze string keys.
Yukihiro "Matz" Matsumoto
2018-10-12
Should not compare `undef` (deleted) key in hashes; fix #4136
Yukihiro "Matz" Matsumoto
2018-10-12
Add `NULL` check in `sg_compact()`; fix #4139
Yukihiro "Matz" Matsumoto
2018-10-12
`Hash#delete` should return the deleted value; fix #4133
Yukihiro "Matz" Matsumoto
2018-09-26
Implement `Hash#rehash` in C using `sg_compact()`.
Yukihiro "Matz" Matsumoto
2018-09-26
Add index to larger segment lists for performance
Yukihiro "Matz" Matsumoto
2018-09-26
Use `mrb_undef_value` for delete mark instead of shifting Hash entry table.
Yukihiro "Matz" Matsumoto
2018-09-26
Use segmented list to implement `Hash` [Experimental]
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
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
2017-12-12
Modifying frozen objects will raise `FrozenError`.
Yukihiro "Matz" Matsumoto
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' to...
Tomasz Dąbrowski
2017-09-27
fix: src\hash.c(40): warning C4244: '=': conversion from 'mrb_int' to 'khint_...
Tomasz Dąbrowski
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
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
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
[next]