Improved struct alignment

This commit is contained in:
Eduard Urbach 2023-07-29 17:00:10 +02:00
parent 85256417fd
commit 4c4775c071
Signed by: eduard
GPG key ID: 49226B848C78F6C8
3 changed files with 8 additions and 8 deletions

View file

@ -16,8 +16,8 @@ const (
// Tree represents a radix tree.
type Tree[T any] struct {
root treeNode[T]
static map[string]T
root treeNode[T]
canBeStatic [2048]bool
}