O'Reilly logo

Blender 2.49 Scripting by Michel J. Anders

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The need for speed—using Psyco

Python is an interpreted language: all instructions in a script are interpreted and executed again and again when they are encountered. This may sound inefficient but for a developer of a program the advantage of being able to quickly develop and test a program may outweigh the disadvantage of a slower running program. And interpreting might be inefficient but that is not identical to slow. Python is a very high-level language so a single language element might be equivalent to a lot of low-level instructions. Besides, given modern hardware even a slow script might be finished faster than a user expects a result.

Nevertheless, there are situations where any speed increase is welcome. From all the examples we have ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required