diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2018-08-12 21:45:36 +0200 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2018-09-07 19:58:36 +0200 |
commit | 12ed7c94e5160aa6d38e3d2cb2a73dae0a6f9342 (patch) | |
tree | 9dce9b019103a861d8468393fa7b46a6f8e70c62 /deps/v8/test/intl/locale/locale-properties.js | |
parent | de33a5aa6ea357fb7c6fde7b75a024e16be88a47 (diff) | |
download | node-new-12ed7c94e5160aa6d38e3d2cb2a73dae0a6f9342.tar.gz |
util: improve inspect performance
This significantly improves the inspection performance for all array
types. From now on only the visible elements cause work instead of
having to process all array keys no matter how many entries are
visible.
This also moves some code out of the main function to reduce the
overall function complexity.
PR-URL: https://github.com/nodejs/node/pull/22503
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'deps/v8/test/intl/locale/locale-properties.js')
0 files changed, 0 insertions, 0 deletions