Subject: Re: [boost] Accelerating algorithms with SIMD - Segmented iterators and alternatives
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2010-10-16 14:02:43
On 15/10/2010 04:43, David Abrahams wrote:
> At Thu, 14 Oct 2010 19:26:00 +0100,
> Mathias Gaunard wrote:
>> On 13/10/10 18:45, David Abrahams wrote:
>>> At Wed, 13 Oct 2010 17:09:38 +0100,
>>> Mathias Gaunard wrote:
>>>> Well, the limitation is how you can combine those "generators" to
>>>> iterate several at the same time, be it for merge or otherwise.
>>>> I don't see a good way to do this with segmented iterators either.
>>> :-) zip_iterator
>> zip_iterator doesn't work with segmented iterators. Well it does work
>> in the sense that segmented iterators also provide a fallback flat
>> iterator, but it doesn't work with the actual segmented one.
> It could be made to work. It just takes... work :-)
I'm not convinced is that easy, and that is could be made to work
without a significant overhead.