Boost logo

Boost :

From: Chris Thomasson (cristom_at_[hidden])
Date: 2006-10-24 19:11:12


"Peter Dimov" <pdimov_at_[hidden]> wrote in message
news:001801c6f7bd$c32f62a0$6607a8c0_at_pdimov2...
> Chris Thomasson wrote:
>
>> How does the original algorithm compare to yours?
>
> I haven't tried it yet. Will do.

Humm... I would also be interested in seeing a comparison between your
implementation of the algorithm and the prototype I am currently whipping up
in assembly... Humm... Calls to a DWCAS function in a loop, in C/C++, can be
fairly expensive when compared to a tight cmpxchg8b loop in assembly, that
makes no function calls with volatile/compiler-barrier restraints
per-loop... Perhaps 2-4 instructions per-loop...

[...]

> Various. Here's the test:

need to look at this more closely...


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk