Boost logo

Boost :

Subject: Re: [boost] [xint] Third release is ready, requesting preliminary review
From: Chad Nelson (chad.thecomfychair_at_[hidden])
Date: 2010-05-02 11:10:23


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/02/2010 02:55 AM, Vladimir Prus wrote:

> Also, why is MT version markedly slower?

Please see my reply of a few minutes ago to Joel Falcou. I'll run some
tests later today to find out exactly what's going on.

> What, exactly, is the shared data that needs to be protected in MT
> case -- it would seem to me that adding a couple of large integers in
> one thread is unrelated to multiplying a couple of other interegers
> in another thread.

It is -- so long as none of the integers are direct copies of ones in a
different thread which haven't been explicitly made unique. XInt uses
copy-on-write in the non-threadsafe mode; that's the major difference
between the two.
- --
Chad Nelson
Oak Circle Software, Inc.
*
*
*
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvdld8ACgkQp9x9jeZ9/wR8RQCdG46Y2d9P5ZBELUWki+6TMw0p
bqUAnjFHoRXeMTXbKtU6aF8/fST0Zbk7
=HG0j
-----END PGP SIGNATURE-----


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