Commit 971edde0 authored by Brian White's avatar Brian White Committed by Jeremiah Senkpiel
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 c32d4607
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