Re: Slow loading, moving base code to C



On Thu, Jul 11, 2013 at 11:57 AM, Johan Dahlin <johan gnome org> wrote:
I haven't followed pyobject introspection development very closely as of late,
but I can imaging that the overrides mechanism is something that could
potentially
slow down the import considerably. Eg, lazy class creation won't work with
overrides.

You should follow it, we need your help! :)

We might not be able to use lazy class creation for overrides but what about the methods and vfuncs on the classes? Essentially doing the same thing IntrospectionModule.__getattr__ does. We certainly don't need to finalize the loading of all 430 methods on Gtk.Widget at import time?





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