Subject: Re: [boost] [lockfree::fifo] Review
From: Tim Blechmann (tim_at_[hidden])
Date: 2009-12-20 09:09:44
>> still, if it performs better than my spsc ringbuffer, it
>> would be interesting to use it as template specialization for pointer
>> types ...
> Well, IMO, it should perform better because the producer and consumer are
> not thrashing each other wrt the head and tail indexes.
yes, it would increase the size of the ringbuffer, but thrashing of the
indices should be reduced, especially, if they are placed in different
i will do a bit of profiling to get some numbers.
-- tim_at_[hidden] http://tim.klingt.org It is better to make a piece of music than to perform one, better to perform one than to listen to one, better to listen to one than to misuse it as a means of distraction, entertainment, or acquisition of 'culture'. John Cage
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk