@eregon How come CRuby does this (considerably) faster than TruffleRuby?
MRI 3.3.0-preview1 completes this in under 4 seconds.
TruffleRuby 23.0.0 Native takes around 60 seconds.
I'm unable to wrap my head around this
@faraaz That sounds like a performance bug, it could be in prism or TruffleRuby. Prism uses FFI + pure-Ruby deserialization on non-CRuby so that part could be slower than the C ext on CRuby, but it was fairly close last time I looked IIRC. Could you open a TruffleRuby issue with reproduction instructions? Also you might want to try 23.1.0, 23.0 is not the latest release.
@eregon Thanks for the explanation! I've opened the issue: https://github.com/oracle/truffleruby/issues/3293