summaryrefslogtreecommitdiff
path: root/deps/v8/src/compiler/load-elimination.cc
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/src/compiler/load-elimination.cc
parentde33a5aa6ea357fb7c6fde7b75a024e16be88a47 (diff)
downloadnode-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/src/compiler/load-elimination.cc')
0 files changed, 0 insertions, 0 deletions