[ruby-core:127534] [Ruby Bug#22488] Defining a method in a module that many classes include is ~4x slower in Ruby 4.0 than in 3.4