Skip to content
Snippets Groups Projects
Commit bbbcfd7a authored by Daniel Czerwonk's avatar Daniel Czerwonk
Browse files

little performance optimization

parent 8916eda2
Branches
Tags
No related merge requests found
......@@ -8,7 +8,7 @@ import (
func CommunityStringForUint32(v uint32) string {
e1 := v >> 16
e2 := v - e1<<16
e2 := v & 0x0000FFFF
return fmt.Sprintf("(%d,%d)", e1, e2)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment