ZJIT: Change HasType into CondBranchHasType (#18633)
We use `HasType`+`CondBranch` a lot—it is how we do polymorphic dispatch in HIR—so it's pretty hot. Without smarter instruction fusion/i
We use `HasType`+`CondBranch` a lot—it is how we do polymorphic dispatch in HIR—so it's pretty hot. Without smarter instruction fusion/i
It's an abrupt end to a block, but it definitely ends the block. No need to put a return instruction after it.
We previously only had this in `gen_insn` which left terminators un-commented.
LinearでのCI改善として、tsgoへの移行、ESLintルールを型情報に依存しないように変更。また、サードパーティランナーとactions/checkoutの調整、pnpmの依存インストール範囲の限定、Vitestのshard分割やisolate: falseの導入などにつ
…als-48375 Fix #48375: Server-Timing double-counting of nested same-name events
We can use `ObjectAllocClass` for Structs because they are basically a `__members__` ivar lookup for sizing plus the default allocator. Req
この記事について この記事では以下のことを扱います StrandsのツールとフックにJevを挟んで、権限のコントロールをします Jevの代わりに、Bedrockの高速化オプションを全盛で使ってみて、どのくらい性能が近づくかを見てみます この記事ですること:Jevを使...
(https://github.com/ruby/prism/pull/4232) Followup to https://github.com/ruby/prism/commit/ba16ae22561179998e4208e4c37262b47f693c11 I can&
Co-authored-by: Matt Brophy <matt@brophy.org>
Co-authored-by: Matt Brophy <matt@brophy.org>
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
`rb_obj_dup` skips immediates: ```c VALUE rb_obj_dup(VALUE obj) { VALUE dup; if (special_object_p(obj)) { return obj;
Co-authored-by: Remix Run Bot <hello@remix.run>
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
Co-authored-by: Remix Run Bot <hello@remix.run>
…t (#11877) Co-authored-by: Matt Brophy <matt@brophy.org>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Matt Brophy <matt@brophy.org>
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
I saw that YJIT has a fast-path for this so I figured we should too.
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
Fix https://github.com/ruby/fileutils/pull/195 https://github.com/ruby/fileutils/commit/b2d9b72739
Fix https://github.com/ruby/fileutils/pull/191 https://github.com/ruby/fileutils/commit/ff78cfd3a4
Fix https://github.com/ruby/fileutils/pull/192 https://github.com/ruby/fileutils/commit/df83e4bb04
Fix https://github.com/ruby/fileutils/pull/193 https://github.com/ruby/fileutils/commit/6fd04f3cea
Fix https://github.com/ruby/fileutils/pull/194 https://github.com/ruby/fileutils/commit/8b1efe473e
Verify that `ln` creates hard links and that `link` remains an alias. Fix https://github.com/ruby/fileutils/pull/185 https://github.com/ru
Cover directory changes, block behavior, and verbose output through `cd`, and verify that `chdir` remains an alias. Fix https://github.com/
Cover single, multiple, and dangling links through `ln_s`, keeping valid-link tests available where dangling links are unsupported. Fix htt
Avoid duplicating working-directory coverage already in `test_pwd`. Fix https://github.com/ruby/fileutils/pull/183 https://github.com/ruby
Windows reports self-referential links as existing, so use a missing target to test a dangling link rather than a symbolic-link loop. https
Cover equal and different file contents in `test_cmp` and verify that `compare_file` and `identical?` remain aliases. Fix https://github.co
Check the result and effects of `mv` and verify the `move` alias. Fix https://github.com/ruby/fileutils/pull/187 https://github.com/ruby/f
Fix https://github.com/ruby/fileutils/pull/181 https://github.com/ruby/fileutils/commit/4b041318e9
Cover removal of existing and missing files through `rm_f` and verify the `safe_unlink` alias. Fix https://github.com/ruby/fileutils/pull/1
Cover removal of existing and missing trees through `rm_rf` and verify the `rmtree` alias. Fix https://github.com/ruby/fileutils/pull/188
Check `mkdir_p` return values and verify the `makedirs` and `mkpath` aliases without duplicating directory creation tests. Fix https://gith
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Remix Run Bot <hello@remix.run>
Preserve `ELOOP` instead of hiding symbolic-link resolution errors with the file-enumeration fallback, so existence checks return false.
Now fibers can be collected by multiple ractors at once when those Ractors are running local GCs. Fibers are created in the Ractor that owns
We should not ever hit this from Ruby code; user code cannot modify ivars that do not start with @. This makes `num_members` leaf and there
When running benchmarks, sometimes there is a overhead in the statistics collection, so it can be useful to disable `zjit-stats`. In my cas
Memoize `MacroReflection#klass` for self-referential associations
`_klass` memoizes the resolved class with `@klass ||= begin ... end`, but `return` inside the `begin` block exits the method before the assi
概要 AIエージェントは、最終結果が正しくても、その過程で検証を省いたり、同じ検索を繰り返したり、不要または危険な操作をしたりすることがあります。また、外部サービスやモデルが変われば、テストや評価器も実際の利用環境から次第にずれていきます。 したがって、AIエージェントの...
…-job-tagging Fix `NoMethodError` when Active Job's logger is a `BroadcastLogger`
ActiveSupport::BroadcastLogger#tagged is now always defined (#58429), so ActiveJob::Logging#tag_logger could no longer rely on logger.respon
CI/CDパイプラインの実行中に、「コードは何も変えていないのに、時々テストが落ちる」という現象に悩まされたことはないでしょうか。このような、実行するたびに結果が成功(Pass)と失敗(Fail)に揺れ動くテストを「Flaky Test(不安定なテスト)」と呼びます。 Fl...
はじめに 以前こんなものを作りました。 https://x.com/Koichi73_/status/2100180485985226755 ポケモンスリープの計測に使う「Pokémon GO Plus +」を分解して、スマホから計測を開始・終了できるようにしたものです。 そこか
はじめに この記事は、生成AIによる支援を受けて作成しています。コーディングの実習目的に個人利用の範囲で作成され、地震の予報・予測等の実務のためのものではありません。 「世界中の地震も、日本国内の地震も、1つのダッシュボードで見たい」 地震の多い昨今、どの強さの地震が...
If the Dir object is closed in the block of Dir#each/each_child/scan, then it will crash because dirp->dir will be a NULL pointer. The fo
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
Also simplify the notation of the special const reserved words.
Show that dangling symbolic links return false and clean up the example files. Follow up on ruby/ruby#18571.
Calling to_int on the count may run Ruby code that modifies the array. This can cause an out-of-bounds in Array#permutation. For example, th
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
Bumps the github-actions group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [ruby/setup-ruby](https://g
「明日の授業は何だっけ?」から進路相談まで。担任を少し支える3D AIサポーター 学校生活では、学生が担任の先生へ相談したいと思っても、すぐに話せるとは限りません。 先生が授業中だったり、ほかの学生に対応していたり、会議で席を外していたりすることがあります。学生側も「こん...
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.