[patch] performance improvements when dealing with boxed types
Submitted by Mikhail Fludkov
Link to original bug (#772950)
Description
Created attachment 337736 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.
Patch 337736, "001 use optimized version of PyImport_ImportModule":
0001-Use-optimized-version-of-PyImport_ImportModule.patch