-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 26/05/10 01:47, lasizoillo wrote: > Existen infinidad de trucos para optimizar el código que realices. > Pero quizá los hilos no sean tu solución :-(
Para cálculo intensivo que no tire de módulos en C, lo más simple y efectivo es tirar del módulo "multiprocessing": <http://docs.python.org/library/multiprocessing.html>. Por cierto cada vez que alguien escribe algo del tipo "from MODULO import *", dios mata a un gatito :-). - -- Jesus Cea Avion _/_/ _/_/_/ _/_/_/ [email protected] - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/ jabber / xmpp:[email protected] _/_/ _/_/ _/_/_/_/_/ . _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQCVAwUBS/x70plgi5GaxT1NAQIrMwQAn1J1T7HCj40G96/P0cNcsZN3UuzcNWXi RWz4vN3AnGy2hBqs2TSzlXo6WwcQa51Z0B/YA3qiDpzrwfsF9or7VS2HNsmDZpiZ uLX6DU+iVPLn89EIAd82R08dIr0VvDa7ybBiYf14ksBS7JnDm13SM2NNmX2+EiKo oIzuHh4xG/4= =7lYr -----END PGP SIGNATURE----- _______________________________________________ Python-es mailing list [email protected] http://mail.python.org/mailman/listinfo/python-es FAQ: http://python-es-faq.wikidot.com/
