[pypy-dev] ctypes - PyPy 1.8 slower than Python 2.6.5

Stefan Behnel stefan_ml at behnel.de
Mon Feb 13 15:29:07 CET 2012


Sébastien Volle, 13.02.2012 13:33:
> My team is working on a project of fast packet sniffers and I'm comparing
> performance between different languages.
> So, we came up with a simple ARP sniffer that I ported to Python using
> ctypes.

If performance is important to you, you may want to write the wrapper for
Python in Cython instead (and maybe also parts of the filtering code, which
I assume your program to be about).

Stefan



More information about the pypy-dev mailing list