Here are two options you can use to determine which method is better.

The timeit module can be used to benchmark small bits of code directly,
where the profiling will give you a more comprehensive report of performance
hot spots in your your script.

http://docs.python.org/library/timeit.html

http://docs.python.org/library/profile.html


Cheers,
Beau

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to