Benoit Daloze
Benoit Daloze
Thanks for the report. The semantics are more complicated (i.e., the docs are wrong), a single argument String can run without an extra shell, this is the behavior and optimization...
We have `NegotiateCompatibleEncodingNode` (and a couple nodes using that) to find an Encoding compatible for 2 encodings. That's use for `Encoding.compatible?` in Ruby, and should be the same as `rb_enc_compatible()`.
I'm not sure. Yes, using the JCodings `Encoding` instead would be best.
> I'll take a look at the history and see if I can figure it out. Maybe it's the famous dtoa() DoS because it's not linear and creates arbitrarily big...
Sulong/GraalVM LLVM does not support fp128 yet, which is what `long double` resolves to on linux-aarch64. Internal Sulong issue about fp128: GR-36514
Related: #1937 First, it's worth noting TruffleRuby already has a builtin CPU sampler via `--cpusampler`. See https://github.com/oracle/graal/blob/master/truffle/docs/Profiling.md and https://github.com/oracle/truffleruby/blob/master/doc/user/tools.md#cpu-sampler Is there a specific reason you want to use `stackprof` or...
Thanks for the reply. Maybe we should find a way to improve the discoverability of `--cpusampler`? One thought could be to print a message when `stackprof` is installed. As a...
> but for Ruby, it was very problematic. Any issue, except that this specific program took too much memory? See https://github.com/oracle/truffleruby/blob/master/doc/user/debugging.md to find out what TruffleRuby is doing if it...
This is a `BINARY` `String` on which `setbyte` is called, and that creates two SubstringRopes, which eagerly flatten every time to compute the CodeRange of each subrope (CR_7BIT or CR_VALID...
Of these alternatives, I think: > Maybe we can treat BINARY Strings specially, e.g., by computing the CodeRange lazily for them (like for NativeRope), Is one of the most general...