On Thursday 01 February 2007 10:21 am, Bart Ogryczak wrote: > Hi, > I´m looking for some benchmarks comparing SWIG generated modules with > modules made directly with C/Python API. Just how much overhead does > SWIG give? Doing profile of my code I see, that it spends quiet some > time in functions like _swig_setattr_nondinamic, _swig_setattr, > _swig_getattr.
There was a EuroPython paper describing some benchmarks. It's from 2004 so things have probably changed a bit (SIP is now fully documented for example). http://people.web.psi.ch/geus/talks/europython2004_geus.pdf Phil -- http://mail.python.org/mailman/listinfo/python-list