On Saturday 25 September 2010 20:21:22 Joel Roth wrote:
Hm. The idea I mainly have in mind is not to optimize your python code, but=
prototype your app with its functionality in python and when all works as=20
expected (more or less), port the time-critical parts to c/C++. Not because=
python is slow (it is compared to native asm) in general, but because it is=
definitely to slow for various tasks like audio. And because python afaik s=
has the big interpreter lock, effectively suppressing any python multi-
threading. Which you work around by re-implementing your heavy-math parts i=
and run them outside the interpreter lock (but still from within threads=20
created and managed from python)...
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
-----END PGP SIGNATURE-----