url: improve parsing speed
authorCGavrila <cristi_gavrila1@yahoo.com>
Tue, 28 Oct 2014 12:08:37 +0000 (12:08 +0000)
committerTrevor Norris <trev.norris@gmail.com>
Tue, 30 Dec 2014 22:00:19 +0000 (14:00 -0800)
commit6a03fce16eaa4ec1085463d94734d40b370f3ea4
treedf4380f81c296d77fc4faf4ecff237a06ef9a4a2
parent890baa03a86de0bf8eb415126b4400195ad61750
url: improve parsing speed

The url.parse() function now checks whether an escapable character is in
the URL before trying to escape it.

PR-URL: https://github.com/joyent/node/pull/8638
[trev.norris@gmail.com: Switch to use continue instead of if]
Signed-off-by: Trevor Norris <trev.norris@gmail.com>
lib/url.js