[#106341] [Ruby master Bug#18369] users.detect(:name, "Dorian") as shorthand for users.detect { |user| user.name == "Dorian" } — dorianmariefr <noreply@...>
Issue #18369 has been reported by dorianmariefr (Dorian Mari辿).
14 messages
2021/11/30
[#106351] [Ruby master Bug#18371] Release branches (release information in general) — "tenderlovemaking (Aaron Patterson)" <noreply@...>
Issue #18371 has been reported by tenderlovemaking (Aaron Patterson).
7 messages
2021/11/30
[ruby-core:106214] [Ruby master Feature#18349] Let --jit enable YJIT on supported platforms
From:
"maximecb (Maxime Chevalier-Boisvert)" <noreply@...>
Date:
2021-11-22 19:56:19 UTC
List:
ruby-core #106214
Issue #18349 has been updated by maximecb (Maxime Chevalier-Boisvert). I think this is a good idea. I am assuming that `--jit` will remain not enabled by default (which is good). ---------------------------------------- Feature #18349: Let --jit enable YJIT on supported platforms https://bugs.ruby-lang.org/issues/18349#change-94823 * Author: k0kubun (Takashi Kokubun) * Status: Open * Priority: Normal ---------------------------------------- ## Proposal * Rename the current `--jit` to `--mjit`, as well as reverting [Feature #17490] * Let `--jit` mean `--yjit` on YJIT-supported platforms, and `--mjit` on other platforms. ## Use case YJIT currently achieves better performance than MJIT in many benchmarks, which means users should choose YJIT over MJIT with Ruby 3.1 in many cases. Even in benchmarks where MJIT could perform well, you need to spend a lot of time to finish warmup and [tune MJIT carefully](https://speakerdeck.com/k0kubun/rubyconf-2021?slide=11) to see the peak performance. However, it's hard for many people, not including heavy users like you reading this, to understand which JIT variant they should try and/or use MJIT properly. Assuming x86 is prevalent enough, I want to make YJIT the default JIT so that non-heavy users will be able to see the benefit of JIT earlier. -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>