summaryrefslogtreecommitdiffhomepage
path: root/src/hash.c
AgeCommit message (Expand)Author
2017-03-28Renumber hash keys during dup since there may be duplicates.Clayton Smith
2017-02-15Use mrb_funcall_argv() instead of mrb_funcall()Yukihiro "Matz" Matsumoto
2017-02-14Do not use mrb_funcall() if Hash#default is not overridden; ref #3421Yukihiro "Matz" Matsumoto
2017-01-05Add mrb_hash_modify() to Hash#{delete,clear}; ref #3370Yukihiro "Matz" Matsumoto
2016-12-12rename prefix RBASIC_ to MRB_; ref #3340Yukihiro "Matz" Matsumoto
2016-12-11Implement Object#freezeTakashi Kokubun
2016-12-07Copy default_proc by Hash#dup.Shugo Maeda
2016-11-24always call Hash#default if no key found; fix #3272Yukihiro "Matz" Matsumoto
2016-11-12Hash#[] to call Hash#defaultYukihiro "Matz" Matsumoto
2016-08-01make mrb_hash_values() a public API functionWilliam Light
2016-02-05Hash: check flags before accessing ifnone; ref #980Yukihiro "Matz" Matsumoto
2016-01-07move KHASH_DECLARE(ht..) to mruby/hash.h; close #3073Yukihiro "Matz" Matsumoto
2015-11-27include changed from by quotes ("") to by brackets (<>); close #3032Yukihiro "Matz" Matsumoto
2015-10-20Remove obvious warnings from docsSeba Gamboa
2015-10-20Increasing docs coverageSeba Gamboa
2015-09-10avoid unnecessary string duplications by checking the frozen flagKazuho Oku
2015-09-10freeze the hash key (fixes #2945)Kazuho Oku
2014-09-12constify pointer from RARRAY_PTR to detect potential write barrier bugs.Yukihiro "Matz" Matsumoto
2014-08-27Add a missing space after ",".Tatsuhiko Kubo
2014-08-13refactor mrb_hash_shift, num_pow, flo_eq, flo_finite_p methodkkkkkt
2014-08-04add MRB_API modifiers to mruby API functionsYukihiro "Matz" Matsumoto
2014-07-03Always return non-NULL in `mrb_hash_tbl`.take_cheeze
2014-06-13need to call write barrier on hash keys; ref #2375Yukihiro "Matz" Matsumoto
2014-05-18Merge pull request #2287 from yui-knk/add-spaceYukihiro "Matz" Matsumoto
2014-05-18Add a space aftre bracket.yui-knk
2014-05-18Fix indent in mrb_hash_to_hash()Jun Hiroe
2014-05-08use mrb_field_write_barrier_value() in hash.cYukihiro "Matz" Matsumoto
2014-04-15resolve conflictYukihiro "Matz" Matsumoto
2014-04-13use kh_put2 in mrb_hash_set for performance improvementYukihiro "Matz" Matsumoto
2014-04-09improve hash function based on #2027; close #2027Yukihiro "Matz" Matsumoto
2014-04-04Hash#replace should copy default as well; close #2004Yukihiro "Matz" Matsumoto
2014-04-04implement Hash#initialize in CYukihiro "Matz" Matsumoto
2014-04-04Hash#replace to preserve order; close #2001Yukihiro "Matz" Matsumoto
2014-04-02Use bool macro KHASH_DEFINE and KHASH_DECLAREksss
2014-04-01Hash#keys to update memory region directlyYukihiro "Matz" Matsumoto
2014-04-01should adjust hash value order at deletionYukihiro "Matz" Matsumoto
2014-04-01implement Hash#== and eql? in RubyYukihiro "Matz" Matsumoto
2014-04-01function expansion in hash.cYukihiro "Matz" Matsumoto
2014-04-01move Hash#inspect implementation to mrblib/hash.rbYukihiro "Matz" Matsumoto
2014-04-01Hash to preserve order as Ruby1.9 doesYukihiro "Matz" Matsumoto
2014-03-31Hash function to avoid funcalls if possibleYukihiro "Matz" Matsumoto
2014-03-15calc hash value directly for strings, symbols and numbersYukihiro "Matz" Matsumoto
2014-03-12fix mrb_funcall callingtake_cheeze
2014-03-08use mrb_str_cat_lit for literalscremno
2014-03-08fix #1823ksss
2014-03-07Hash#== and eql? should not return fixnum; ref #1823Yukihiro "Matz" Matsumoto
2014-03-07Fix behavior Hash#eql?ksss
2014-02-27use mrb_str_cat_lit() intead of mrb_str_catcubicdaiya
2014-02-14clearn up warning in hash.cLi Yazhou
2014-02-13hash / hash-ext: various small changescremno