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>
2022-08-15 11:22:28 -07:00
..
bench all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
filter all: migrate more code code to net/netip directly 2022-08-02 13:59:57 -07:00
magicsock net/netcheck: try ICMP if UDP is blocked (#5056) 2022-08-04 17:10:13 -04:00
monitor all: migrate more code code to net/netip directly 2022-08-02 13:59:57 -07:00
netstack all: use syncs.AtomicValue 2022-08-04 11:52:16 -07:00
router syncs, all: move to using Go's new atomic types instead of ours 2022-08-04 07:47:59 -07:00
wgcfg all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
wglog all: use syncs.AtomicValue 2022-08-04 11:52:16 -07:00
winnet all: gofmt all 2022-04-29 13:06:04 -07:00
mem_ios.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 2021-05-25 13:18:21 -07:00
pendopen.go net/netaddr: start migrating to net/netip via new netaddr adapter package 2022-07-25 16:20:43 -07:00
userspace.go util/deephash: avoid variadic argument for Update (#5372) 2022-08-15 11:22:28 -07:00
userspace_ext_test.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 2021-05-25 13:18:21 -07:00
userspace_test.go all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
watchdog.go all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
watchdog_js.go wasm: drop pprof dependency 2022-06-07 12:16:16 -07:00
watchdog_test.go all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
wgengine.go all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00