Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Dec 10, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

ko1 and others added 25 commits December 10, 2025 10:23
even if `USE_RUBY_DEBUG_LOG=0`.
It becomes `fprintf(stderr, ...)`.
These macros have been defined here and there, so collect them.
Pathname is now embedded class of Ruby
(ruby/stringio#165)

Adds to "Position":  pos inside a character.

Makes a couple of minor corrections.

---------

ruby/stringio@ff332abafa

Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
This refactors the concurrent set to examine and reserve a slot via CAS
with the hash, before then doing the same with the key.

This allows us to use an extra bit from the hash as a "continuation bit"
which marks whether we have ever probed past this key while inserting.
When that bit isn't set on deletion we can clear the field instead of
placing a tombstone.
This removes all allocations from the find_or_insert loop, which
requires us to start the search over after calling the provided create
function.

In exchange that allows us to assume that all concurrent threads insert
will get the same view of the GC state, and so should all be attempting
to clear and reuse a slot containing a garbage object.
@pull pull bot locked and limited conversation to collaborators Dec 10, 2025
@pull pull bot added the ⤵️ pull label Dec 10, 2025
byroot and others added 3 commits December 10, 2025 07:05
Fix: ruby/forwardable#35
[Bug #21708]

Trying to compile code to check if a method can use the delegation
fastpath is a bit wasteful and cause `RUPYOPT=-d` to be full of
misleading errors.

It's simpler and faster to use a simple regexp to do the same check.

ruby/forwardable@de1fbd182e
byroot and others added 4 commits December 10, 2025 10:30
That call is surprisingly expensive, so trying doing it once
in `#synchronize` and then passing the fiber to enter and exit
saves quite a few cycles.
Make it embedded and compaction aware.
It's the most likely control character so it's worth
giving a better error message for it.

ruby/json@1da3fd9233
@pull pull bot merged commit 2b66fc7 into turkdevops:master Dec 10, 2025
2 of 3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants