Commit c490b8ba authored by Brian White's avatar Brian White Committed by Evan Lucas
Browse files

util: improve format() performance further

Replacing the regexp and replace function with a loop improves
performance by ~60-200%.

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


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