summaryrefslogtreecommitdiff
path: root/array.c
AgeCommit message (Collapse)Author
2024-08-30[DOC] Related for Array#[] (#11487)Burdette Lamar
Notes: Merged-By: peterzhu2118 <peter@peterzhu.ca>
2024-08-29[DOC] Related for Array#all? and Array#any? (#11495)Burdette Lamar
Notes: Merged-By: peterzhu2118 <peter@peterzhu.ca>
2024-08-29[DOC] Related for Array#[]=BurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11494
2024-08-29[DOC] Relateds for combo methods (#11483)Burdette Lamar
Notes: Merged-By: peterzhu2118 <peter@peterzhu.ca>
2024-08-28[DOC] Array comparing doc (#11486)Burdette Lamar
Notes: Merged-By: peterzhu2118 <peter@peterzhu.ca>
2024-08-28Related for Array#<<BurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11485
2024-08-28[DOC] Remove Array#abbrevBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11476
2024-08-28[DOC] More xrefs for array creationBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11477
2024-08-28Related methods for Array#deleteBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11471
2024-08-27[DOC] Tweaks for Array#delete_ifBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11470
2024-08-27[DOC] Tweaks for Array#cycle (#11459)Burdette Lamar
Notes: Merged-By: peterzhu2118 <peter@peterzhu.ca>
2024-08-27Assume that shared array is not embeddedPeter Zhu
An array cannot be shared and embedded at the same time, so we can assume that a shared array is not embedded. Notes: Merged: https://github.com/ruby/ruby/pull/11422
2024-08-26[DOC] Tweaks to Array#delete_atBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11463
2024-08-26[DOC] Tweaks to Array#deleteBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11460
2024-08-24[DOC] Tweaks to Array#combination (#11440)Burdette Lamar
Notes: Merged-By: peterzhu2118 <peter@peterzhu.ca>
2024-08-24[DOC] Tweaks for Array#concatBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11450
2024-08-24[DOC] Tweaks for Array#count docBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11452
2024-08-24[DOC] Tweaks to Array#compact!BurdetteLamar
2024-08-24[DOC] Tweaks for Array#compactBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11448
2024-08-22[DOC] Tweaks for Array#collect! (#11434)Burdette Lamar
Notes: Merged-By: peterzhu2118 <peter@peterzhu.ca>
2024-08-21[DOC] Tweaks to Array#bsearch_indexBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11396
2024-08-21[DOC] Tweaks for Array#collectBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11398
2024-08-21[DOC] Tweaks for Array#clearBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11397
2024-08-21[DOC] Tweaks for Array#bsearchBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11395
2024-08-16[DOC] Tweaks to Array#assoc (#11384)Burdette Lamar
Notes: Merged-By: peterzhu2118 <peter@peterzhu.ca>
2024-08-15[DOC] Tweaks for Array#atBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11385
2024-08-15[DOC] Tweaks for Array#pushBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11382
2024-08-15[DOC] Fix Related for Array#all?BurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11381
2024-08-15[DOC] Tweaks for Array#any?BurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11380
2024-08-14[DOC] Tweaks to Array#all? (#11365)Burdette Lamar
Notes: Merged-By: peterzhu2118 <peter@peterzhu.ca>
2024-08-10rb_setup_fake_ary: use precomputed flagsJean Boussier
Setting up the fake array is a bit more expensive than would be expected because `rb_ary_freeze` does a lot of checks and lookup a shape transition. If we assume fake arrays will always be frozen, we can precompute the flags state and just assign it. Notes: Merged: https://github.com/ruby/ruby/pull/11344
2024-08-08[DOC] Tweaks for Array#[]= (#11329)Burdette Lamar
Notes: Merged-By: peterzhu2118 <peter@peterzhu.ca>
2024-08-08[DOC] Tweaks for Array#[]BurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11328
2024-08-08[DOC] Tweaks for Array#[]BurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11328
2024-08-08[DOC] Tweaks for Array#==BurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11327
2024-08-07[DOC] Tweaks to Array#- (#11303)Burdette Lamar
Notes: Merged-By: peterzhu2118 <peter@peterzhu.ca>
2024-08-07[DOC] Tweaks to Array#+ (#11302)Burdette Lamar
Notes: Merged-By: peterzhu2118 <peter@peterzhu.ca>
2024-08-06[DOC] Tweaks to Array#<=>BurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11305
2024-08-06[DOC] Tweaks for Array#<<BurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11304
2024-08-06[DOC] Tweaks to Array#*BurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11301
2024-08-06[DOC] Tweak to Array#&BurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11300
2024-08-06Tweaks to Array::try_convertBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11299
2024-08-06[DOC] Tweak for Array::[]BurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11298
2024-07-31Rewrite Array.new documentationJeremy Evans
Use plain paragraphs instead of a nested unordered list. Remove some examples, including examples that produce warnings in verbose mode or raise exceptions. Explicitly document the common pitfall of using an expression as a default value instead of using a block. Notes: Merged: https://github.com/ruby/ruby/pull/11282
2024-07-30[DOC] Tweaks to Array.try_convert (#11260)Burdette Lamar
Notes: Merged-By: peterzhu2118 <peter@peterzhu.ca>
2024-07-30[DOC] Tweaks for Array.new (#11259)Burdette Lamar
Notes: Merged-By: peterzhu2118 <peter@peterzhu.ca>
2024-07-30[DOC] Tweaks for Array#&BurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11262
2024-07-29Revert moving things to RubyAaron Patterson
This is slowing down benchmarks on x86, so lets revert it for now. Notes: Merged: https://github.com/ruby/ruby/pull/11275
2024-07-29[DOC] rb_ary_s_create (#11256)Burdette Lamar
Notes: Merged-By: peterzhu2118 <peter@peterzhu.ca>
2024-07-09Don't shrink array in `ary_make_shared`eileencodes
This change adds back the assertions removed in #11092 and removes the call to `ary_shrink_capa` from `ary_make_shared` when the array is frozen.