Unverified Commit ad1d1057 authored by Ruben Bridgewater's avatar Ruben Bridgewater
Browse files

util: improve inspect performance

This improves a slow code part in `util.inspect` by directly
retrieving the `Symbol.toStringTag` and by optimizing some code
paths.

PR-URL: https://github.com/nodejs/node/pull/20009


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarYuta Hiroto <hello@hiroppy.me>
Reviewed-By: default avatarTrivikram Kamat <trivikr.dev@gmail.com>
parent 94596560
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment