Re: [PATCH] Don't send interleaved byebye/alive on startup



On 27 May 2011 09:59, Jens Georg <mail jensge org> wrote:
> On Fr, 2011-05-27 at 10:49 +0200, Jens Georg wrote:
>>
>> +                /* Make sure initial byebyes are sent grouped before initial
>> +                 * alives */
>> +                for (l = resource_group->priv->resources; l; l = l->next)
>> +                        send_initial_resource_byebye (l->data);
>> +
>
> I stuck to the general pattern here, but is there a rationale not to use
> g_list_foreach for this "apply function to all list elements" call?

Probably Jorn and his brutal "pointless method call" optimisations...

Ross


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]