[Bf-committers] Faster listbase lookups

Alexander Ewering blender at instinctive.de
Sat Oct 21 15:56:44 CEST 2006


On Sat, 21 Oct 2006, Alexander Ewering wrote:

> On Sat, 21 Oct 2006, Alexander Ewering wrote:
>
>> for (forward = list->first, backward = list->last, i = 0;
>>     forward != backward;
>>     forward = forward->next, backward = backward->prev, i++)
>

Of course, if the whole point was to make it faster on multiple processors,
and not just search the list in both directions, then you can ignore my
mails altogether ;)

Should not post to mailing lists after 2 hours of sleep and no thinking :)

| alexander ewering              instinctive mediaworks
| ae[@]instinctive[.]de   http://www[.]instinctive[.]de


More information about the Bf-committers mailing list