[pygtk] Overriding GObject methods in Python

Johan Dahlin johan at gnome.org
Fri Nov 24 00:20:08 WST 2006

> I'm a bit worried about performance of that.  As far as I can tell, you
> cannot optimize for the case of methods implemented in C being called
> from C; the emit/notification cycle always marshals the arguments to
> GValues and back.  This offers excellent flexibility, but at the price
> of efficiency of the common case.

You seem to be very worried about performance.
I advise you to try it out and see if it meets your requirements.

If it doesn't, rewrite the whole thing in C.


More information about the pygtk mailing list