We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base/model/set.go
// Len returns the number of items in a set. func (s *Set) Len() int { return len(s.List()) }
改成下面效率会更高
// Len returns the number of items in a set. func (s *Set) Len() int { s.RLock() defer s.RUnlock() return len(s.m) }
The text was updated successfully, but these errors were encountered:
you can fix it
Sorry, something went wrong.
Merge pull request #2 from liiibpm/main
80913fa
init github actions
Merge pull request apache#2 from liiibpm/main
1944ae1
No branches or pull requests
base/model/set.go
改成下面效率会更高
The text was updated successfully, but these errors were encountered: