Files
node/lib
Anna Henningsen 7e5f500c98 assert: improve deepEqual perf for large input
Use a Map instead of an array for checking previously found
cyclic references.

This reduces complexity for an array-of-objects case from
O(n²) to O(n·log n).

Fixes: https://github.com/nodejs/node/issues/12842
PR-URL: https://github.com/nodejs/node/pull/12849
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2017-05-07 21:35:26 +02:00
..
2017-05-01 11:18:51 -07:00
2017-03-17 11:09:10 -07:00
2017-03-10 11:23:48 -08:00
2017-04-21 13:09:49 -04:00
2017-04-30 03:17:36 -04:00
2017-04-30 03:17:53 -04:00
2016-10-04 12:17:32 -04:00
2017-04-30 03:18:01 -04:00
2017-03-10 11:23:48 -08:00
2017-03-31 22:02:25 +02:00
2017-04-30 03:17:50 -04:00
2017-04-28 14:29:45 -07:00
2017-03-10 11:23:48 -08:00