[zeromq-dev] zloop timers

Kim Lester kim at dfusion.com.au
Tue May 24 17:32:02 CEST 2011


If we insert the timers into the timer list in order of delay then
a) we move calculations outside core zloop
a) we don't need to iterate over list looking for shortest delay, just take first item (note second timer equal first I suppose but we can test that when the first expires)
b) save on calculating "when" for all bar first item in list.

Have I missed anything ?


More information about the zeromq-dev mailing list