diff options
| author | John Hawthorn <john@hawthorn.email> | 2025-12-05 23:31:33 -0800 |
|---|---|---|
| committer | John Hawthorn <john@hawthorn.email> | 2025-12-11 09:53:10 -0800 |
| commit | 32e6dc0f31b98cf17dd9ace46561d74a55966b20 (patch) | |
| tree | eb99dee3ae0f2bb7df77267e47a2169e7fd5de09 /test/ruby/test_method_cache.rb | |
| parent | 459c377222e746a5e39756bf5d648d16893e831c (diff) | |
Speed up class allocator search
This rewrites the class allocator search to be faster. Instead of using
RCLASS_SUPER, which is now even slower due to Box, we can scan the
superclasses list to find a class where the allocator is defined.
This also disallows allocating from an ICLASS. Previously I believe that
was only done for FrozenCore, and that was changed in
e596cf6e93dbf121e197cccfec8a69902e00eda3.
Diffstat (limited to 'test/ruby/test_method_cache.rb')
0 files changed, 0 insertions, 0 deletions
