Re: [pygtk] Overriding GObject methods in Python



> 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.

Johan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]