How to loop a HashSet? #41
Labels
No labels
bug
discussion
documentation
duplicate
ignore
new feature
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
golibs/gms-gods#41
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
HI, how can i loop a HashSet, i see only TreeSet has a iterator thx!
i iterate the set by this way. but if the set is too large, this approach will get a performance problem, is it?
You can't loop the HashSet. HashSet is based on Go's map whose key (thus values in the set) order is random each time. Perhaps you are fine with that random order, in which case I could enable it?