mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
ab7e6f3f11
The entry logic of Hash has extra complexity to make sure we always have an addressable value on hand. If not, we heap allocate the input. For this reason we document that there are performance benefits to always providing a pointer. Rather than documenting this, just enforce it through generics. Also, delete the unused HasherForType function. It's an interesting use of generics, but not well tested. We can resurrect it from code history if there's a need for it. Signed-off-by: Joe Tsai <joetsai@digital-static.net> |
||
---|---|---|
.. | ||
cibuild | ||
clientmetric | ||
cloudenv | ||
cmpver | ||
codegen | ||
deephash | ||
dnsname | ||
endian | ||
groupmember | ||
hashx | ||
jsonutil | ||
lineread | ||
mak | ||
multierr | ||
must | ||
osshare | ||
pidowner | ||
precompress | ||
racebuild | ||
singleflight | ||
strs | ||
systemd | ||
uniq | ||
winutil |