GNOME Bugzilla – Bug 772950
[patch] performance improvements when dealing with boxed types
Last modified: 2018-01-10 20:56:26 UTC
Created attachment 337736 [details] [review] 001 use optimized version of PyImport_ImportModule There are two patches optimising performance of of pyg_type_lookup function which is called every time we about to convert an object of boxed type to/from python object and can create GIL congestion if there are a lot of threads involved. Actually there is not only GIL involved, but global python import lock also. See the commit comment in the first patch for more info.
Created attachment 337737 [details] [review] 0002 pyg_type_lookup optimization
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/pygobject/issues/123.