On Dec 19, 12:08 pm, mscdex <[email protected]> wrote:
> On Dec 19, 10:11 am, Camilo Aguilar <[email protected]> wrote:
>
> > I updated the jsperf test to reflect a bit better the scenario being
> > discussed:http://jsperf.com/return-vs-no-return/4
> > It seems like v8 optimizes better callback(); return; than return
> > callback();
>
> On Chrome 23 doesReturn is fastest followed by doesValuelessReturn and
> then noReturn.

I forgot to add: it's also faster on the node master branch -- they
must use similar versions of v8?

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to