[Python.NET] Major speed change old 2.5 -> latest 2.5 build
Craig Farrow
craig_farrow at sil.org
Mon Jul 4 08:39:58 CEST 2011
Hi,
I'm accessing a database through a .NET DLL and I noticed that the
initial open/load function is taking 20 times as long in Python.NET 2.6
as it is in my Python.NET 2.5.
When I went to check on what 2.5 version I was using I found a newer one
on sourceforge; well using pythonnet-2.0-alpha2-clr2.0_py25.zip is
giving the same slow speeds as the 2.6 & 2.7 versions I was trying. The
2.5 that is giving me fast times (0.8 - 1.2 seconds) versus (18-24
seconds) I got a few years ago in a package called
'pythonnet-2.0-alpha2.zip' that contained directories for 2.4 & 2.5,
UCS2 & UCS4; the Python.Runtime.DLL is dated 6 Sep 2007.
Any idea why the speed difference? And is it possible to get back to the
fast version for 2.6 & 2.7?
I'm running Windows 7, 32 bit.
Thanks,
Craig.
More information about the PythonDotNet
mailing list