| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-01-21 | Delete duplicated `Array#delete_if` test. | Hiroshi Mimaki | |
| 2020-01-21 | Delete duplicated `Array#delete_if`. | Hiroshi Mimaki | |
| 2019-11-05 | Remove test that depend on `mruby-enumerator` from `mruby-array-ext` | KOBAYASHI Shuji | |
| `Object.const_defined?(:Enumerator)` is always false because `mruby-enumerator` is not specified in `test_dependency`. I don't think this test is necessary. | |||
| 2019-10-14 | Fix the example of `Array#intersection` in the document [ci skip] | KOBAYASHI Shuji | |
| 2019-10-14 | Add `Array#intersection` which is new in Ruby2.7. | Yukihiro "Matz" Matsumoto | |
| 2019-10-14 | Move `Array#difference` just after `Array#-`. | Yukihiro "Matz" Matsumoto | |
| 2019-10-14 | Fixed a bug in `Array#difference`. | Yukihiro "Matz" Matsumoto | |
| 2019-09-26 | Use type predicate macros instead of `mrb_type` if possible | KOBAYASHI Shuji | |
| For efficiency with `MRB_WORD_BOXING` (implement type predicate macros for all `enum mrb_vtype`). | |||
| 2019-09-20 | Fix typo in `Array#difference` document [ci skip] | KOBAYASHI Shuji | |
| 2019-09-16 | Add `filter` aliases for `Enumerable` and `Hash`. | Yukihiro "Matz" Matsumoto | |
| 2019-09-16 | Add `Array#difference` method from Ruby2.6. | Yukihiro "Matz" Matsumoto | |
| 2019-09-01 | `Array#permutation` with a negative argument should not yield | KOBAYASHI Shuji | |
| Before this patch: $ bin/mruby -e '[1].permutation(-1){|v| p v}' #=> [1] After this patch (same as Ruby): $ bin/mruby -e '[1].permutation(-1){|v| p v}' #=> no output | |||
| 2019-08-30 | `Array#(permutation|combination)` without block should return `self` | KOBAYASHI Shuji | |
| 2019-07-26 | Drop dependency from `mruby-array-ext` to `mruby-enum-ext` | KOBAYASHI Shuji | |
| 2019-07-25 | Refine `Array#(permutation|combination) test` | KOBAYASHI Shuji | |
| - No guarantees about the order in which the permutations/combinations are yielded. - Drop dependency on `Enumerator`. | |||
| 2019-06-23 | Fix argument specs to `Array` | KOBAYASHI Shuji | |
| 2019-05-31 | Comment out the empty `Array#bsearch_index` test | KOBAYASHI Shuji | |
| 2019-05-25 | Name the return value of `mrb_range_beg_len()` | dearblue | |
| 2019-04-06 | Move `Array#(append|prepend)` from core to `mruby-ary-ext` | KOBAYASHI Shuji | |
| They are not included in ISO standard. | |||
| 2019-02-01 | Move `NONE` to `mrblib/enum.rb` | KOBAYASHI Shuji | |
| 2018-11-25 | Fix wrong number of arguments in `Array#fetch`; fix #4170 | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Removed `to_ary` conversion method. | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Removed `try_convert` method from Array and Hash. | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | fix non-ASCII comment. | Yukihiro "Matz" Matsumoto | |
| 2018-10-12 | Call `uniq!` for each union processing in `Array#union`. | Yukihiro "Matz" Matsumoto | |
| 2018-09-26 | Add index to larger segment lists for performance | Yukihiro "Matz" Matsumoto | |
| 2018-09-21 | Implement `Array#union` which is introduced in Ruby2.6. | Yukihiro "Matz" Matsumoto | |
| 2018-09-20 | Improve performance of `Array#uniq!`. | Yukihiro "Matz" Matsumoto | |
| 2018-09-20 | Make `#to_h` to take a block; [ruby-core:89088] | Yukihiro "Matz" Matsumoto | |
| 2018-09-18 | Array size may be changed in `mrb_get_args()` reentry. | Yukihiro "Matz" Matsumoto | |
| fix #4116; fix #4117; fix #4118; fix #4119; fix #4120 | |||
| 2018-09-07 | Clear terminated space | dearblue | |
| 2017-11-17 | implement Array.transpose | Tomasz Dąbrowski | |
| 2017-10-20 | Add `Array#{permutation,combination}. | Yukihiro "Matz" Matsumoto | |
| 2017-10-17 | Use a new function: `mrb_get_argc()`; ref #3826 | Yukihiro "Matz" Matsumoto | |
| 2017-08-26 | Replaced Array#each with while loop for performance reasons | Christopher Aue | |
| Example benchmark: $ time build/bench/bin/mruby -e "Array.new(2_000_000){ |i| i }.index{ |i| i == 1_999_999 }" Before: real 0m0.934s user 0m0.922s sys 0m0.003s After: real 0m0.590s user 0m0.583s sys 0m0.007s | |||
| 2017-08-26 | Removed unneeded block check in Array#uniq | Christopher Aue | |
| 2017-08-26 | Reimplemented Array#flatten with #flatten! | Christopher Aue | |
| 2017-08-11 | Remove unnecessary inline function `ary_elt`. | Yukihiro "Matz" Matsumoto | |
| And the function does not conform the naming convention anyway. | |||
| 2017-07-30 | Improved speed of enumeration methods | Christopher Aue | |
| 2017-07-28 | Added Array#bsearch_index | Christopher Aue | |
| 2017-07-28 | Refactored Array#bsearch | Christopher Aue | |
| 2017-07-28 | Tested Array#bsearch more thoroughly | 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-04-02 | Fixed out of bounds access; fix #3572, ref #3553 | Yukihiro "Matz" Matsumoto | |
| 2017-03-28 | Avoid inline local variable declarations; fix #3554 | Yukihiro "Matz" Matsumoto | |
| 2017-03-28 | Implement Array#slice! | Kenji Okimoto | |
| 2016-11-16 | Fixed a memory problem in Array#to_h | Yukihiro "Matz" Matsumoto | |
| Reported from Alex Snaps via Mathieu Leduc-Hamel, both from shopify.com. Thank you! | |||
| 2016-11-02 | Update documentation of fetch | Lukas Elmer | |
| The sentence `Negative values of +index+ count from the end of the array.` can be interpreted that it only holds if a block is given. Clarify it. | |||
| 2016-03-23 | add #dig tests | Yukihiro "Matz" Matsumoto | |
| 2016-03-23 | add #dig to Array,Hash and Struct | Yukihiro "Matz" Matsumoto | |
