Skip to content

Conversation

dementive
Copy link
Contributor

This removes all of the std::set usage and replaces it with Godot's RBSet.

I'm making this a draft for now because it will not compile until #1841 gets merged, but once it does it will work fine.

@Ivorforce
Copy link
Member

Note that HashSet is the recommended default 'set' type for Godot, the benefits of RBSet are not clearly established.

@Calinou Calinou added the enhancement This is an enhancement on the current functionality label Sep 11, 2025
@dementive
Copy link
Contributor Author

dementive commented Sep 11, 2025

Note that HashSet is the recommended default 'set' type for Godot, the benefits of RBSet are not clearly established.

Just changed it to make it HashSet.

@dementive dementive force-pushed the no-std-set branch 2 times, most recently from 78af2d5 to b792368 Compare September 12, 2025 20:23
@dementive dementive changed the title Replace std::set with RBSet Replace std::set with HashSet Sep 12, 2025
@dementive dementive marked this pull request as ready for review October 4, 2025 23:06
@dementive dementive requested a review from a team as a code owner October 4, 2025 23:07
@dsnopek dsnopek added this to the 4.x milestone Oct 5, 2025
Copy link
Collaborator

@dsnopek dsnopek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks good to me :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherrypick:4.4 cherrypick:4.5 enhancement This is an enhancement on the current functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants