Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

peterzhu2118
Copy link
Member

This commit extracts the Ractor safe table used for frozen strings into ractor_safe_table.c, which will allow it to be used elsewhere, including for the global symbol table.

This comment has been minimized.

@jhawthorn
Copy link
Member

One comment, otherwise looks good! How do you feel about the naming? I think it might be better to clarify that this is only a hash set not a table, but not totally necessary (and this is just internal so we can change our mind any time)

This commit extracts the Ractor safe table used for frozen strings into
ractor_safe_table.c, which will allow it to be used elsewhere, including
for the global symbol table.
@peterzhu2118
Copy link
Member Author

I don't have strong opinions on the name. I changed it to ractor_safe_set.

@peterzhu2118 peterzhu2118 merged commit d9b2d89 into ruby:master Jun 27, 2025
84 checks passed
@peterzhu2118 peterzhu2118 deleted the ractor-safe-table branch June 27, 2025 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants