8000 Rewrite Array#each in Ruby using Primitive by k0kubun · Pull Request #9533 · ruby/ruby · GitHub
[go: up one dir, main page]

Skip to content
8000

Rewrite Array#each in Ruby using Primitive #9533

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 23, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert an unneeded test change
  • Loading branch information
k0kubun committed Jan 23, 2024
commit d98ac2cc207f4b86de2a1ab8d2ac7cb320abd78f
2 changes: 1 addition & 1 deletion test/ruby/test_gc_compact.rb
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def add_ivars

Fiber.new {
$ary = OBJ_COUNT.times.map { Foo.new }
$ary.reverse_each(&:add_ivars)
$ary.each(&:add_ivars)

GC.start
Foo.new.add_ivars
Expand Down
0