[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.
[ruby/prism] Avoid extra String copies in the FFI backend
converted to a Ruby String, then converted to a native String for
pm_serialize_parse().
pass that to other native functions.
https://github.com/ruby/prism/commit/9002b3c47d