On Sun, Jan 19, 2014 at 11:54 AM, Alex Kocharin <[email protected]> wrote:

> Garbage collection doesn't matter, because the same number of objects gets
> freed anyway. Total time spent blocking other tasks with 1 timer is less
> then total time spent with 10000 timers, unless the code is very wrong.
>

I meant that there are other things to worry about beside just the grouping
of timers. As you mentioned, the data structure comes into play as well,
which affects GC.


> So I mean "faster" as in "always faster" if you create an appropriate data
> structure to store objects.
>

Yes, but faster for this task could mean that the app itself feels slower.
Many developers often look at performance at the wrong level.

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

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to