is c faster?

James Logajan JamesL at Lugoj.Com
Sat Jun 9 12:50:53 EDT 2001


akhar wrote:
> would C code be faster?

Yes.

> by what factor?

Without knowing what you are doing, one can only guess. If you are already
using PIL and numpy as implied by your note, then it may be a small factor.
If you have any remaining loops within loops, then you would definitely gain
by coding that portion in C.



More information about the Python-list mailing list