tailscale/util/deephash
Joe Tsai c200229f9e
util/deephash: simplify canMemHash (#5384)
Put the t.Size() == 0 check first since this is applicable in all cases.
Drop the last struct field conditional since this is covered by the
sumFieldSize check at the end.

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2022-08-15 22:22:18 -07:00
..
testtype util/deephash: fix unexported time.Time hashing 2022-07-27 09:28:23 -07:00
deephash_test.go util/deephash: simplify canMemHash (#5384) 2022-08-15 22:22:18 -07:00
deephash.go util/deephash: simplify canMemHash (#5384) 2022-08-15 22:22:18 -07:00