summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-array-ext/src/array.c
AgeCommit message (Collapse)Author
2017-07-27Embed 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-02Fixed out of bounds access; fix #3572, ref #3553Yukihiro "Matz" Matsumoto
2017-03-28Avoid inline local variable declarations; fix #3554Yukihiro "Matz" Matsumoto
2017-03-28Implement Array#slice!Kenji Okimoto
2016-11-16Fixed a memory problem in Array#to_hYukihiro "Matz" Matsumoto
Reported from Alex Snaps via Mathieu Leduc-Hamel, both from shopify.com. Thank you!
2015-11-27include changed from by quotes ("") to by brackets (<>); close #3032Yukihiro "Matz" Matsumoto
2015-10-21Revert "Mark core gems with mrbgem tag"Seba Gamboa
This reverts commit 5cdcce8dbddd94ecb9503a0a1d47370c4ef97177.
2015-10-20Remove obvious warnings from docsSeba Gamboa
2015-10-20Mark core gems with mrbgem tagSeba Gamboa
2014-06-02Add Array#to_hMitsutaka Mimura
2014-05-25no one uses Array.try_convert, so removed it that discourages duck typing; ↵Yukihiro "Matz" Matsumoto
close #2317
2014-05-03use proper length for mrb_get_values_at()Yukihiro "Matz" Matsumoto
separate mrb_range_beg_len() into two: the one truncates range into the sequence size, and the one does not. #values_at uses the latter.
2014-05-02Implement Struct#values_at and Array#values_at .take_cheeze
Add API `mrb_get_values_at()` to mruby/range.h .
2013-04-25rename every ARGS_XXX to MRB_ARGS_XXX; ref #1206Yukihiro "Matz" Matsumoto
2013-03-15rename methodskandhas
2013-03-15add mrbgem: mrb-array-extskandhas