summaryrefslogtreecommitdiff
path: root/test/ruby/test_rubyvm.rb
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2024-02-14 20:57:51 +0100
committergit <svn-admin@ruby-lang.org>2024-02-15 20:25:35 +0000
commit8f17b3bd27a5c62c44b9de2376b8d54334997071 (patch)
tree8c6e7abf4c04365c7118f86f1b4e90ebf4411ddc /test/ruby/test_rubyvm.rb
parentbe82755d4a90e719797984fb9c6d0d195d823676 (diff)
[ruby/prism] Avoid extra String copies in the FFI backend
* For Prism.parse_file the file contents would be read as native, then converted to a Ruby String, then converted to a native String for pm_serialize_parse(). * Refactor the logic to always use a pm_string for the source code and pass that to other native functions. https://github.com/ruby/prism/commit/9002b3c47d
Diffstat (limited to 'test/ruby/test_rubyvm.rb')
0 files changed, 0 insertions, 0 deletions