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-----
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.
Oak Circle Software, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----