Commit 8d72b0d2 authored by Evan Lucas's avatar Evan Lucas
Browse files

util: improve util.format performance

By manually copying arguments and breaking the try/catch out, we are
able to improve the performance of util.format by 20-100% (depending on
the types).

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


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