Message162669
Applies and builds cleanly on Win7 32-bit. The speed difference is visible here too:
PS D:\Data\cpython\PCbuild> .\python.exe -m timeit -s "from _thread import allocate_lock; l=allocate_lock()" "l.acquire();l.release()"
1000000 loops, best of 3: 0.608 usec per loop
PS D:\Data\cpython\PCbuild> hg revert --all
reverting pythoncore.vcxproj
reverting pythoncore.vcxproj.filters
reverting ..\Python\ceval_gil.h
forgetting ..\Python\condvar.h
reverting ..\Python\thread_nt.h
PS D:\Data\cpython\PCbuild> .\python.exe -m timeit -s "from _thread import allocate_lock; l=allocate_lock()" "l.acquire();l.release()"
1000000 loops, best of 3: 1.66 usec per loop
The test suite had a few Python crashes, but a build of trunk did too. No time to diagnose these now, but I didn't see any failures that weren't also in the unpatched build.
Basically, test suite results look the same as for the unpatched build. |
|
Date |
User |
Action |
Args |
2012-06-12 12:56:11 | paul.moore | set | recipients:
+ paul.moore, loewis, pitrou, kristjan.jonsson |
2012-06-12 12:56:11 | paul.moore | set | messageid: <1339505771.06.0.282582733593.issue15038@psf.upfronthosting.co.za> |
2012-06-12 12:56:10 | paul.moore | link | issue15038 messages |
2012-06-12 12:56:09 | paul.moore | create | |
|