On 2024-07-17 10:30 a.m., Sven Bardos via python-win32 wrote:
Hi Mark,
I found some time to debug and profile my issue a little bit more.
In my scenario I call a COM method which returns a list of 14195
integers plus the amount of the found objects.
If I profile that call I get the following
Hi Mark,
I found some time to debug and profile my issue a little bit more.
In my scenario I call a COM method which returns a list of 14195 integers
plus the amount of the found objects.
If I profile that call I get the following:
ncalls tottime percall cumtime percall filename:lineno(funct
I'm mildly surprised by that - a profiler might show some low-hanging
fruit, and/or might show different characteristics when many more
functions are used. However, the primary reason for EnsureDispatch is
for better support of the object model - there's far more context
available and this less