diff options
| author | Max Bernstein <max.bernstein@shopify.com> | 2025-04-30 19:28:22 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-30 16:28:22 -0700 |
| commit | 5411b504a5e75d553a423b4e5dbe63b9c45e906f (patch) | |
| tree | 6b5dc22e1727e7b48d934017f395192bf5afb419 /spec/ruby/core/array/shared/select.rb | |
| parent | 7866e124a852c344b5762eb917c03a1f95d9058d (diff) | |
ZJIT: Use RefCell to allow path compression in union-find (#13218)
Use RefCell to allow path compression in union-find
When I wrote the original version I didn't understand the interior
mutability pattern, but now I do! With this commit, we should have a
more optimal union-find implementation.
Notes
Notes:
Merged-By: k0kubun <takashikkbn@gmail.com>
Diffstat (limited to 'spec/ruby/core/array/shared/select.rb')
0 files changed, 0 insertions, 0 deletions
