On Thursday 11 December 2008, Ravi Kondamuru wrote: > This was a great info exchange for me. > I am going to try out the all-python solution and see how it works > out. thank you all,
You could try to optimize slow parts with the compiled Cython language. Nearly all Python code is legal Cython; but if you declare variables as C datatypes operations with these variables will be fast like in C. http://www.cython.org/ Introduction for C programmers: http://docs.cython.org/docs/language_basics.html The language is geared a bit towards numerical computations. However Python strings are automatically converted to 'char *', so it is useful for you. Cython is a fork of Pyrex, which can keep up fairly well with real C programs: http://www.scipy.org/PerformancePython#head-a73fa06d3c4f3bda71b3526d30d51c492d8f80df Kind regards, Eike. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor