path: root/array.c
AgeCommit message (Expand)Author
2020-03-21Removed non-RUBY_INTEGER_UNIFICATION codeNobuyoshi Nakada
2020-03-04fix compile error w/ -DUSE_TRANSIENT_HEAP=0卜部昌平
2020-02-25Document that Array#index and find_index are aliases [ci skip]Chelsea Corvus (Battell)
2020-01-26Moved Array#sample to rbincNobuyoshi Nakada
2020-01-26Moved Array#shuffle and Array#shuffle! to rbincNobuyoshi Nakada
2020-01-25Recheck array length after `to_str` conversionNobuyoshi Nakada
2020-01-25Recheck elements type after `to_str` conversionNobuyoshi Nakada
2019-12-29Optimize Array#rotate!(n) for n = 1 and n = -1Ary Borenszweig
2019-12-26decouple internal.h headers卜部昌平
2019-11-19make functions static卜部昌平
2019-11-17Deprecate taint/trust and related methods, and make the methods no-opsJeremy Evans
2019-10-09Prefer st_is_member over st_lookup with 0Ben Woosley
2019-10-09Improve performance of Array#sum with float elements (#1555)Watson
2019-10-07Add: Array#intersection methodPrajjwal Singh
2019-10-04array.c (rb_mem_clear): remove "register" from argumentsYusuke Endoh
2019-09-29[DOC] Fix typos in Array#{to_s,inspect} doc [ci skip]Benoit Daloze
2019-09-29[DOC] stated that Array#to_s calls #inspect [ci skip]Nobuyoshi Nakada
2019-09-27Optimize Array#flatten and flatten! for already flattened arrays (#2495)Dylan Thacker-Smith
2019-09-25check `ARY_SHARED_ROOT_P()`.Koichi Sasada
2019-09-25introduce `obj_ary_extracapa`.Koichi Sasada
2019-09-20Fixed memory leakNobuyoshi Nakada
2019-09-18Fix typosKenichi Kamiya
2019-09-02Make Array#uniq return subclass instance if called on subclass instanceJeremy Evans
2019-08-15Avoid confusion in Array#- and Array#difference docs (#2070)Olivier Lacan
2019-08-09Allow Array#join to allocate smaller stringsJohn Hawthorn
2019-08-07array.c: gc.h is not neededYusuke Endoh
2019-08-04[Doc] Fix Array#to_h call-seqKenichi Kamiya
2019-08-04[Doc] Fix Array#difference call-seqKenichi Kamiya
2019-07-20array.c: factor out a complex condition of assertYusuke Endoh
2019-07-19array.c: use assert in macro instead of in a functionYusuke Endoh
2019-07-19array.c: factor out `assert(RB_TYPE_P(ary, T_ARRAY))` to a functionYusuke Endoh
2019-07-19Use FL_TEST_RAW() to check flags.Koichi Sasada
2019-07-19* expand tabs.git
2019-07-19fix shared array terminology.Koichi Sasada
2019-07-15introduce RUBY_ASSERT_ALWAYS(expr).Koichi Sasada
2019-07-02Implement Array#minmaxJeremy Evans
2019-06-24array.c: Wrong heap size given to ruby_sized_xfree when freeing shared rootsLuke Gruber
2019-06-23array.c add back shared array optimization to ary_ensure_room_for_unshiftLuke Gruber
2019-06-22array.c: always check frozenness in Array#unshift. Fixes [Bug #15952]Luke Gruber
2019-06-22Fix issue with Array#rindex when rb_equal modifies receiver arrayLuke Gruber
2019-06-13add comments to mention sort.reverse!Martin Dürst
2019-05-21do not use RARRAY_SET() directly in array.c.Koichi Sasada
2019-04-27Improve documentation of Array.try_convertBenoit Daloze
2019-04-22Merge branch 'patch-5' of into trunkKazuhiro NISHIYAMA
2019-04-18io.c: warn non-nil $,nobu
2019-04-17Introduce pattern matching [EXPERIMENTAL]ktsj
2019-04-10Adjusted stylesnobu
2019-04-10Reverting all commits from r67479 to r67496 because of CI failureskazu
2019-04-10Adjusted stylesnobu
2019-03-31Fix a typo [ci skip]kazu