Merge pull request #6571 from aisk/small-hash-limitation

This commit is contained in:
Yukihiro "Matz" Matsumoto
2025-07-07 10:23:25 +09:00
committed by GitHub
+4
View File
@@ -213,3 +213,7 @@ Prints `:append`.
#### mruby [3.5.0 (2025-04-28)]
Nothing printed (since `include` does not call `append_features` internally).
## No `#hash` call for small hashes
For performance reasons, mruby avoids calling the `#hash` method on keys when a hash table is small. This means that custom `#hash` methods on key objects may not be executed.