You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net/art
David Anderson e92adfe5e4 net/art: allow non-pointers as values
Values are still turned into pointers internally to maintain the
invariants of strideTable, but from the user's perspective it's
now possible to tbl.Insert(pfx, true) rather than
tbl.Insert(pfx, ptr.To(true)).

Updates #7781

Signed-off-by: David Anderson <danderson@tailscale.com>
1 year ago
..
art_test.go net/art: fix running tests outside of CI 1 year ago
stride_table.go net/art: allow non-pointers as values 1 year ago
stride_table_test.go net/art: allow non-pointers as values 1 year ago
table.go net/art: allow non-pointers as values 1 year ago
table_test.go net/art: allow non-pointers as values 1 year ago