Commit 83cce871 authored by Antoine du Hamel's avatar Antoine du Hamel
Browse files

lib: use <array>.push and <array>.unshift instead of <array>.concat

Using `push` and `unshift` methods is more performant than reassigning a
new array created with `concat`.

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


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent f392ac0b
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