mirror of https://github.com/tailscale/tailscale/
ipn/localapi: reuse buffer for encoding JSON in serveWatchIPNBus
Reuse a single byte buffer for JSON encoding all notifications to the same subscriber. This retains more memory, but produces less garbage. Updates tailscale/corp#18514 Signed-off-by: Percy Wegmann <percy@tailscale.com>oxtoacart/golden_memory
parent
dc02d49bf1
commit
da480e8529
Loading…
Reference in New Issue