Files
node/lib
Ruben Bridgewater 449e9f4489 assert,util: improve deep equal comparison performance
This is mainly a performance improvement for a lot of simple cases.
Diverging elements are detected earlier and equal entries are
partially also detected faster.

A small correctness patch is also included where recursions now
stop as soon as either side has a circular structure. Before, both
sides had to have a circular structure at the specific comparison
which could have caused more checks that likely fail at a later
point.

Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de>
PR-URL: https://github.com/nodejs/node/pull/46593
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2023-02-20 15:47:06 +01:00
..
2020-02-18 22:15:50 -08:00
2020-10-21 01:26:34 +02:00
2023-01-10 05:38:36 +00:00
2023-02-20 01:58:32 +01:00
2023-01-03 10:43:21 +00:00
2021-04-30 10:59:28 -07:00
2023-01-10 05:38:36 +00:00
2022-11-07 18:25:54 -05:00
2023-01-10 05:38:36 +00:00
2023-01-10 05:38:36 +00:00
2023-01-25 12:02:09 +00:00
2023-02-06 15:44:04 +00:00