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.

-- 
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