summaryrefslogtreecommitdiff
path: root/array.c
AgeCommit message (Collapse)Author
2024-11-20[DOC] Tweaks for ArrayBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/12113
2024-11-13Move Array#select to RubyTakashi Kokubun
Co-Authored-By: Aaron Patterson <[email protected]> Notes: Merged: https://github.com/ruby/ruby/pull/12074
2024-11-13Mark strings returned by Symbol#to_s as chilled (#12065)Jean byroot Boussier
* Use FL_USER0 for ELTS_SHARED This makes space in RString for two bits for chilled strings. * Mark strings returned by `Symbol#to_s` as chilled [Feature #20350] `STR_CHILLED` now spans on two user flags. If one bit is set it marks a chilled string literal, if it's the other it marks a `Symbol#to_s` chilled string. Since it's not possible, and doesn't make much sense to include debug info when `--debug-frozen-string-literal` is set, we can't include allocation source, but we can safely include the symbol name in the warning message, making it much easier to find the source of the issue. Co-Authored-By: Étienne Barrié <[email protected]> --------- Co-authored-by: Étienne Barrié <[email protected]> Co-authored-by: Jean Boussier <[email protected]>
2024-11-11[DOC] Tweaks for array indexesBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/12044
2024-11-11[DOC] Sort items in What's HereBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/12039
2024-11-11[DOC] Tweaks for Array#|BurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/12038
2024-11-08[DOC] Doc for Array#zip (#11961)Burdette Lamar
Notes: Merged-By: peterzhu2118 <[email protected]>
2024-11-06[DOC] Doc for Array#values_at (#11960)Burdette Lamar
Notes: Merged-By: peterzhu2118 <[email protected]>
2024-11-04YJIT: Replace Array#each only when YJIT is enabled (#11955)Takashi Kokubun
* YJIT: Replace Array#each only when YJIT is enabled * Add comments about BUILTIN_ATTR_C_TRACE * Make Ruby Array#each available with --yjit as well * Fix all paths that expect a C location * Use method_basic_definition_p to detect patches * Copy a comment about C_TRACE flag to compilers * Rephrase a comment about add_yjit_hook * Give METHOD_ENTRY_BASIC flag to Array#each * Add --yjit-c-builtin option * Allow inconsistent source_location in test-spec * Refactor a check of BUILTIN_ATTR_C_TRACE * Set METHOD_ENTRY_BASIC without touching vm->running Notes: Merged-By: maximecb <[email protected]>
2024-10-28[DOC] Tweaks for Array#uniq (#11949)Burdette Lamar
Notes: Merged-By: peterzhu2118 <[email protected]>
2024-10-25[DOC] Tweaks for Array#uniq! (#11950)Burdette Lamar
Notes: Merged-By: peterzhu2118 <[email protected]>
2024-10-24[DOC] Tweaks for Array#unionBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11937
2024-10-24[DOC] Tweaks for Array#transposeBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11936
2024-10-22[DOC] Tweaks for Array#inspect (#11935)Burdette Lamar
Notes: Merged-By: peterzhu2118 <[email protected]>
2024-10-22[DOC] Tweaks for Array#to_hBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11934
2024-10-22[DOC] Tweaks for Array#take_while (#11930)Burdette Lamar
Notes: Merged-By: peterzhu2118 <[email protected]>
2024-10-22[DOC] Tweaks for Array#take (#11929)Burdette Lamar
Notes: Merged-By: peterzhu2118 <[email protected]>
2024-10-22[DOC] Tweaks for Array#to_aBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11931
2024-10-18[DOC] Tweaks for Array#sumBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11915
2024-10-18[DOC] Tweaks for Array#sort_by!BurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11914
2024-10-17[DOC] Tweaks for Array#sort!BurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11908
2024-10-17[DOC] Tweaks for Array#sort (#11907)Burdette Lamar
Notes: Merged-By: peterzhu2118 <[email protected]>
2024-10-16[DOC] Tweaks for Array#slice! (#11902)Burdette Lamar
Notes: Merged-By: peterzhu2118 <[email protected]>
2024-10-12[DOC] Tweaks for Array#shift (#11886)Burdette Lamar
Notes: Merged-By: peterzhu2118 <[email protected]>
2024-10-11[DOC] Tweaks for Array#rotate! (#11875)Burdette Lamar
Notes: Merged-By: peterzhu2118 <[email protected]>
2024-10-11[DOC] Tweaks for Array#rotateBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11874
2024-10-11[DOC] Tweaks for Array#repeated_permutation (#11873)Burdette Lamar
Notes: Merged-By: peterzhu2118 <[email protected]>
2024-10-10[DOC] Tweaks for Array#reverse_each (#11855)Burdette Lamar
Notes: Merged-By: peterzhu2118 <[email protected]>
2024-10-10[DOC] Tweaks for Array#repeated_combination (#11839)Burdette Lamar
Notes: Merged-By: peterzhu2118 <[email protected]>
2024-10-09[DOC] Tweaks for Array#rindexBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11856
2024-10-09[DOC] Tweaks for Array#reverse!BurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11854
2024-10-09[DOC] Tweaks for Array#reverseBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11853
2024-10-08[DOC] Tweaks for Array#reject!BurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11838
2024-10-08[DOC] Tweaks for Array#rejectBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11837
2024-10-08[DOC] Tweaks for Array#rassocBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11836
2024-10-08[DOC] Tweaks for Array#product (#11823)Burdette Lamar
Notes: Merged-By: peterzhu2118 <[email protected]>
2024-10-08[DOC] Tweaks for Array#pop (#11821)Burdette Lamar
Notes: Merged-By: peterzhu2118 <[email protected]>
2024-10-08[DOC] Tweaks for Array#unshiftBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11822
2024-10-07[DOC] Tweaks for Array#permutation (#11802)Burdette Lamar
Notes: Merged-By: peterzhu2118 <[email protected]>
2024-10-04[DOC] Tweaks for Array#none? (#11788)Burdette Lamar
Notes: Merged-By: peterzhu2118 <[email protected]>
2024-10-04[DOC] Tweaks for Array#one? (#11789)Burdette Lamar
Notes: Merged-By: peterzhu2118 <[email protected]>
2024-10-04[DOC] Minor adjustment for Array#minPeter Zhu
2024-10-04[DOC] Minor adjustment for Array#maxPeter Zhu
2024-10-04[DOC] Tweaks for Array#minmax (#11787)Burdette Lamar
Notes: Merged-By: peterzhu2118 <[email protected]>
2024-10-03[DOC] Correct documentation for Array#maxPeter Zhu
The return value of Array#max is the maximum value per the block, not from the block.
2024-10-03[DOC] Tweaks for Array#min (#11786)Burdette Lamar
Notes: Merged-By: peterzhu2118 <[email protected]>
2024-10-03[DOC] Add pound sign before all <=> methodsPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/11769
2024-10-02[DOC] Fix indentation in documentation for Array#sort!Peter Zhu
2024-10-02[DOC] Tweaks for Array#max (#11768)Burdette Lamar
Notes: Merged-By: peterzhu2118 <[email protected]>
2024-10-02[DOC] Tweaks for Array#lengthBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/11767