mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
merge revision(s) bb84c75001
: [Backport #17735]
Revert "Force recycle intermediate collection in Hash#transform_keys!
[Bug #17735]"
This reverts commit 522d4cd32f
.
---
hash.c | 1 -
1 file changed, 1 deletion(-)
This commit is contained in:
parent
3e61556191
commit
98ac62de5c
2 changed files with 1 additions and 2 deletions
1
hash.c
1
hash.c
|
@ -3307,7 +3307,6 @@ rb_hash_transform_keys_bang(int argc, VALUE *argv, VALUE hash)
|
||||||
}
|
}
|
||||||
rb_ary_clear(pairs);
|
rb_ary_clear(pairs);
|
||||||
rb_hash_clear(new_keys);
|
rb_hash_clear(new_keys);
|
||||||
rb_gc_force_recycle(new_keys);
|
|
||||||
}
|
}
|
||||||
return hash;
|
return hash;
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
|
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
|
||||||
#define RUBY_VERSION_TEENY 3
|
#define RUBY_VERSION_TEENY 3
|
||||||
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
|
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
|
||||||
#define RUBY_PATCHLEVEL 136
|
#define RUBY_PATCHLEVEL 137
|
||||||
|
|
||||||
#define RUBY_RELEASE_YEAR 2021
|
#define RUBY_RELEASE_YEAR 2021
|
||||||
#define RUBY_RELEASE_MONTH 9
|
#define RUBY_RELEASE_MONTH 9
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue