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> Conflicts: lib/net.jsv1.8.0-commit
1 changed files with 12 additions and 10 deletions
Loading…
Reference in new issue