Joe Tsai 7e40071571
util/deephash: handle slice edge-cases (#5471)
It is unclear whether the lack of checking nil-ness of slices
was an oversight or a deliberate feature.
Lacking a comment, the assumption is that this was an oversight.

Also, expand the logic to perform cycle detection for recursive slices.
We do this on a per-element basis since a slice is semantically
equivalent to a list of pointers.

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2022-08-30 00:33: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