summaryrefslogtreecommitdiff
path: root/deps/v8/PRESUBMIT.py
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2018-08-12 21:45:36 +0200
committerRuben Bridgewater <ruben@bridgewater.de>2018-09-07 19:58:36 +0200
commit12ed7c94e5160aa6d38e3d2cb2a73dae0a6f9342 (patch)
tree9dce9b019103a861d8468393fa7b46a6f8e70c62 /deps/v8/PRESUBMIT.py
parentde33a5aa6ea357fb7c6fde7b75a024e16be88a47 (diff)
downloadandroid-node-v8-12ed7c94e5160aa6d38e3d2cb2a73dae0a6f9342.tar.gz
android-node-v8-12ed7c94e5160aa6d38e3d2cb2a73dae0a6f9342.tar.bz2
android-node-v8-12ed7c94e5160aa6d38e3d2cb2a73dae0a6f9342.zip
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/PRESUBMIT.py')
0 files changed, 0 insertions, 0 deletions