diff options
| author | Matthew Draper <matthew@trebex.net> | 2023-08-24 16:27:17 +0930 |
|---|---|---|
| committer | John Hawthorn <john@hawthorn.email> | 2023-09-07 13:51:15 -0700 |
| commit | ed712e0e9d591bdaa84e9eaac832a9632aee5139 (patch) | |
| tree | a6609964f38d76e30955f979b47ea5365c305bd0 /spec/ruby | |
| parent | fcdedf7f47b0ec495a0e3adca4c3f44b84afa98e (diff) | |
Skip allocation if handle_interrupt arg is already usable
If the supplied hash is already frozen and compare-by-identity, we can
use it directly (still checking its contents are valid symbols), without
making a new copy.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/8278
Diffstat (limited to 'spec/ruby')
0 files changed, 0 insertions, 0 deletions
