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 we look at
nmt/hasher.go
Lines 157 to 159 in 29e9433
we notice this code
Line 159 in 29e9433
but that code could be made clearer, simpler and even faster (if in hot loop) by
emptyNs2X := bytes.Repeat([]byte{0}, int(n.NamespaceLen)*2) h := n.baseHasher.Sum(nil) digest := append(emptyNs2X, h...)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If we look at
nmt/hasher.go
Lines 157 to 159 in 29e9433
we notice this code
nmt/hasher.go
Line 159 in 29e9433
but that code could be made clearer, simpler and even faster (if in hot loop) by
The text was updated successfully, but these errors were encountered: