diff options
| author | Benoit Daloze <eregontp@gmail.com> | 2025-12-14 21:36:45 +0100 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2026-01-19 12:03:33 +0000 |
| commit | ae5efb55d1bd52e3a08c9ffb6ab4e0cef74cef12 (patch) | |
| tree | 4293373eaa292c6b934c200b5c811f2c5ac7be9f /node_dump.c | |
| parent | e85fd7c8783b51e6a1fb274a4b71e41f448afac9 (diff) | |
[ruby/prism] Simplify and optimize Prism::Node#tunnel
* By comparing byte offsets which folds 3 branches into 1.
* Also avoids allocation of Location objects.
https://github.com/ruby/prism/commit/71fcb891e0
Diffstat (limited to 'node_dump.c')
0 files changed, 0 insertions, 0 deletions
