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/wgengine
Joe Tsai 32a1a3d1c0
util/deephash: avoid variadic argument for Update (#5372)
Hashing []any is slow since hashing of interfaces is slow.
Hashing of interfaces is slow since we pessimistically assume
that cycles can occur through them and start cycle tracking.

Drop the variadic signature of Update and fix callers to pass in
an anonymous struct so that we are hashing concrete types
near the root of the value tree.

Signed-off-by: Joe Tsai <joetsai@digital-static.net>

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2 years ago
..
bench all: convert more code to use net/netip directly 2 years ago
filter all: migrate more code code to net/netip directly 2 years ago
magicsock net/netcheck: try ICMP if UDP is blocked (#5056) 2 years ago
monitor all: migrate more code code to net/netip directly 2 years ago
netstack all: use syncs.AtomicValue 2 years ago
router syncs, all: move to using Go's new atomic types instead of ours 2 years ago
wgcfg all: convert more code to use net/netip directly 2 years ago
wglog all: use syncs.AtomicValue 2 years ago
winnet all: gofmt all 3 years ago
mem_ios.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
pendopen.go net/netaddr: start migrating to net/netip via new netaddr adapter package 2 years ago
userspace.go util/deephash: avoid variadic argument for Update (#5372) 2 years ago
userspace_ext_test.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
userspace_test.go all: convert more code to use net/netip directly 2 years ago
watchdog.go all: convert more code to use net/netip directly 2 years ago
watchdog_js.go wasm: drop pprof dependency 2 years ago
watchdog_test.go all: use any instead of interface{} 3 years ago
wgengine.go all: convert more code to use net/netip directly 2 years ago