aboutsummaryrefslogtreecommitdiffstats
path: root/parser_value.h
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2023-08-24 17:53:23 +0930
committerJohn Hawthorn <john@hawthorn.email>2023-09-07 13:51:15 -0700
commitaed52151043561dbe9657abd07f1abfcd97df817 (patch)
tree91ed5b5679fb99d5b2bcc187f59262d98b76fcb5 /parser_value.h
parented712e0e9d591bdaa84e9eaac832a9632aee5139 (diff)
downloadruby-aed52151043561dbe9657abd07f1abfcd97df817.tar.gz
Optimize handle_interrupt(Exception => ..) as a common case
When interrupt behavior is configured for all possible exceptions using 'Exception', there's no need to iterate the pending exception's ancestors for hash lookups. More significantly, by storing the catch-all timing symbol directly in the mask stack, we can skip allocating the hash we would otherwise need.
Diffstat (limited to 'parser_value.h')
0 files changed, 0 insertions, 0 deletions