diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-05-14 01:07:55 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-05-18 17:43:53 +0200 |
commit | 9087e444e6457a21fdb1037b9ed204ac417abc05 (patch) | |
tree | be4de0021f099e28d94d0a92d6445516436d035a /format_test.go | |
parent | 25ad08a59157ed8a9750e827c658260b4138fd93 (diff) |
device: optimize Peer.String even more
This reduces the allocation, branches, and amount of base64 encoding.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'format_test.go')
0 files changed, 0 insertions, 0 deletions