mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
c7d68724ad
@raggi and I have been experimenting with using unique.Handle for public keys in various places. This is an experiment to see what it looks like just going all the way, so a NodePublic is always just a single word (a single pointer) behind the scenes, so 8 bytes (in practice, on 64-bit) instead of 32 bytes. Downsides are some extra unique.Make lookups (probably cheap enough) and it makes data structures that were previously skipped by GC as having no pointers no longer skipped. But on the upside, it saves memory and makes certain operations much faster. Updates tailscale/corp#24485 Change-Id: Ic5c807b86b465769b046fba5d640c4fe73bf2a2f Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> |
||
---|---|---|
.. | ||
childproc | ||
debug.go | ||
depaware.txt | ||
deps_test.go | ||
generate.go | ||
install_darwin.go | ||
install_windows.go | ||
manifest_windows_386.syso | ||
manifest_windows_amd64.syso | ||
manifest_windows_arm64.syso | ||
proxy.go | ||
required_version.go | ||
sigpipe.go | ||
ssh.go | ||
taildrop.go | ||
tailscaled_bird.go | ||
tailscaled_notwindows.go | ||
tailscaled_test.go | ||
tailscaled_windows.go | ||
tailscaled.defaults | ||
tailscaled.go | ||
tailscaled.openrc | ||
tailscaled.service | ||
windows-manifest.xml | ||
with_cli.go |