joyent/node — pull request #4477 by tricknotes (2012-12-28 07:49:55+00:00)
Title: https: seed up function to create https connection

Stop using `arguments` for performance and readability.

benchmark is here: https://gist.github.com/4395584

Before
```
* createConnection(port, host, options) - 380 ms
* createConnection(port, options) - 359 ms
* createConnection(options) - 315 ms
* createConnection(port) - 2680 ms
* createConnection(port, host) - 1836 ms
```

After
```
* createConnection(port, host, options) - 268 ms
* createConnection(port, options) - 302 ms
* createConnection(options) - 281 ms
* createConnection(port) - 788 ms
* createConnection(port, host) - 843 ms
```