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
if you wanna build a DA Trie with thousands of nodes, there may cause errors.
The text was updated successfully, but these errors were encountered:
Could you elaborate or give some test case? I intended to get the capacity of the slice, thus using cap func. Can't simply replace it with len func.
Sorry, something went wrong.
go-darts/darts.go
Lines 74 to 84 in 1b63d94
"if newSize > cap(d.darts.Base) " 应该换成 if newSize > len(d.darts.Base) 。不改 TestExactMatchSearch测试都通不过。
No branches or pull requests
if you wanna build a DA Trie with thousands of nodes, there may cause errors.
The text was updated successfully, but these errors were encountered: