Python speed vs csharp

Achim Domma domma at procoders.net
Thu Jul 31 05:24:39 EDT 2003


"Martin v. Löwis" <martin at v.loewis.de> wrote in message
news:m3smonmcop.fsf at mira.informatik.hu-berlin.de...
> Mike <mike at nospam.com> writes:
> I recommend that you try out Python 2.3. It has significantly improved
> memory allocation mechanisms, so you should see some speed-up.
>
> You could also try Psyco, which is a just-in-time compiler for
> Python. It should give very good results in this case, also.

Another option would be to implement the critical function in C++ and make
it available to python. This could be done for example via boost.python. See
this link for details:
http://www.boost.org/libs/python/doc/tutorial/index.html It's much easier
than you would expect.

Achim






More information about the Python-list mailing list