On 1 Feb 2007 02:21:35 -0800, Bart Ogryczak <[EMAIL PROTECTED]> 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.
Before you decide to go "low level" consider to use Boost.Python. According to this( http://tinyurl.com/322d3p ) post it gives pretty good performance. P.S. The post does not contain numbers -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ -- http://mail.python.org/mailman/listinfo/python-list