newbie IronPython compiled scripts speed question

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Sun Sep 24 17:25:44 EDT 2006


dtlog:
> So the question is, should I switch to IronPython and compile
> my scripts, or learn to use something like pyinline or Psyco?

Learning to use Psyco is very easy, for a basic usage you just have to
put in your code:
import psyco
psyco.full()

For a better usage you can do:
psyco.bind(functioname)
for just the functions that you have seen can enjoy the compilation.

For a smart usage you can learn few tricks to help its job. The last
page of the psyco manual helps.

pyinline is rather easy to use if you have linux and you know C.

Bye,
bearophile




More information about the Python-list mailing list