Skip to content

Commit

Permalink
util: improve inspect performance
Browse files Browse the repository at this point in the history
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: #22503
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: John-David Dalton <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
  • Loading branch information
BridgeAR committed Sep 7, 2018
1 parent de33a5a commit 12ed7c9
Show file tree
Hide file tree
Showing 2 changed files with 223 additions and 242 deletions.
Loading

0 comments on commit 12ed7c9

Please sign in to comment.