mirror of https://github.com/lukechilds/node.git
Browse Source
The current implementation uses the arguments object in the Server() constructor. Since both arguments to Server() are optional, there was a high likelihood of accessing a non-existent element in arguments, which carries a performance overhead. This commit replaces the arguments object with named arguments. Reviewed-by: Trevor Norris <trev.norris@gmail.com>archived-io.js-v0.10
committed by
Trevor Norris
1 changed files with 12 additions and 12 deletions
Loading…
Reference in new issue