Hi,
After profiling a small python script I found that approximately 50% of
the runtime of my script was consumed by one line: "import copy".
Another 15% was the startup of the interpreter, but that is OK for an
interpreted language. The copy library is used by another library I am
using for my scripts. Importing copy takes 5-10 times more time that
import os, string and re together!
I noticed that this lib is implemented in python, not in C. As I can
imagine that *a lot* of libs/scripts use the copy library, I think it
worthwhile to implement this lib in C.
Unfortunately I cannot do this myself: I am relatively inexperienced
with python and do not know C.

What are your opinions?

Martijn Brouwer

-- 
__________________________________________________
I have a new e-mail adress. If you are still using
[EMAIL PROTECTED], please change to
[EMAIL PROTECTED]
__________________________________________________

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to