Importing inside a loop is bad practice; there is overhead. I found
this, which is also a great guide to Python performance in general:
http://wiki.python.org/moin/PythonSpeed/PerformanceTips#Import_Statement_Overhead.
Perhaps it could be added to the docs? I might do it when I have time.

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to