Commit 33fea6ed authored by Ben Noordhuis's avatar Ben Noordhuis
Browse files

lib: don't penalize setInterval() common case

The common case is where setInterval() is called with two arguments,
the callback and the timeout.  Specifying optional arguments in
the parameter list forces common case calls to go through an arguments
adaptor stack frame.

PR-URL: https://github.com/iojs/io.js/pull/1221


Reviewed-By: default avatarTrevor Norris <trev.norris@gmail.com>
parent 31da9758
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