diff options
| author | Benoit Daloze <eregontp@gmail.com> | 2024-02-29 17:50:27 +0100 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-02-29 19:24:04 +0000 |
| commit | d5ae7965b75ff98e8425f39043171ad4df0a0106 (patch) | |
| tree | 3061d71cd1a0d1c0f2481cf6eae12a1a3ca30dfd /include/ruby/debug.h | |
| parent | 6075f67ae65939d4dccc7fba9b053830e5bb2c26 (diff) | |
[ruby/prism] Lazily create Location objects in Prism::Serialize::Loader#load_location
* Following the changes in #2428.
* PRISM_FFI_BACKEND=true ruby -v -Ilib -rprism -rbenchmark -e '10.times { p Benchmark.realtime { Dir.glob("lib/**/*.rb") { |f| Prism.parse_file(f) } } }'
ruby 3.3.0: 0.255 => 0.210
ruby 3.3.0 YJIT: 0.150 => 0.120
https://github.com/ruby/prism/commit/fabf809bbf
Diffstat (limited to 'include/ruby/debug.h')
0 files changed, 0 insertions, 0 deletions
