Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Dec 11, 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 : )

eregon and others added 11 commits December 11, 2025 13:05
* test(set): add test Set#xor does not mutate other_set

* Fix Set#^ to not mutate its argument
This adds a fastpath in class_call_alloc_func to simply return if the
class matches the one expected.

I think we could probably just remove this check, or move it to the debug
build.
This rewrites the class allocator search to be faster. Instead of using
RCLASS_SUPER, which is now even slower due to Box, we can scan the
superclasses list to find a class where the allocator is defined.

This also disallows allocating from an ICLASS. Previously I believe that
was only done for FrozenCore, and that was changed in
e596cf6.
Help the compiler know that we always get a heap object here.
@pull pull bot locked and limited conversation to collaborators Dec 11, 2025
@pull pull bot added the ⤵️ pull label Dec 11, 2025
@pull pull bot merged commit 89e09e4 into turkdevops:master Dec 11, 2025
1 of 2 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.

5 participants