
-----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-----