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
..
2022-03-18 15:19:26 -07:00
2022-08-02 10:08:05 -07:00
2022-08-04 11:52:16 -07:00
2022-03-16 14:53:59 -07:00
2021-08-05 15:54:00 -07:00
2022-08-02 10:08:05 -07:00
2022-08-06 09:30:10 -07:00
2021-08-05 15:54:00 -07:00
2021-08-05 15:54:00 -07:00
2021-08-05 15:54:00 -07:00
2022-08-02 10:08:05 -07:00
2022-08-02 10:08:05 -07:00
2022-03-17 11:35:09 -07:00