summaryrefslogtreecommitdiff
path: root/test/ruby/test_method_cache.rb
diff options
context:
space:
mode:
authorAlexander Momchilov <alexandermomchilov@gmail.com>2023-12-18 04:00:48 -0500
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-12-19 11:07:45 +0900
commite6fa1d62faf6ba4b0f3277e2e92e6e60d4330cc8 (patch)
tree2db9e5904333c92e41349dfcf3c128e203dab0b3 /test/ruby/test_method_cache.rb
parent46085ef970ab50b5e1c7878345a39528823461ac (diff)
[ruby/psych] Use `compare_by_identity` instead of `object_id`
Object IDs became more expensive in Ruby 2.7. Using `Hash#compare_by_identity` let's us get the same effect, without needing to force all these objects to have object_ids assigned to them. https://github.com/ruby/psych/commit/df69e4a12e
Diffstat (limited to 'test/ruby/test_method_cache.rb')
0 files changed, 0 insertions, 0 deletions