Re: [pygtk] Overriding GObject methods in Python
- From: Johan Dahlin <johan gnome org>
- To: Hrvoje Nikšić <hrvoje niksic avl com>
- Cc: pygtk daa com au, gtk-list gnome org
- Subject: Re: [pygtk] Overriding GObject methods in Python
- Date: Thu, 23 Nov 2006 14:20:08 -0200
> 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]