net/art: add debug hooks to strideTable

Updates #7781

Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
David Anderson
2023-07-13 12:25:08 -07:00
committed by Dave Anderson
parent fcf4d044fa
commit ac657caaf1
2 changed files with 17 additions and 4 deletions

View File

@@ -13,6 +13,11 @@ import (
"strings"
)
const (
debugStrideInsert = false
debugStrideDelete = false
)
// strideEntry is a strideTable entry.
type strideEntry[T any] struct {
// prefixIndex is the prefixIndex(...) value that caused this stride entry's