so my intitial guess that the problem was with my inability to properly
build a dll was correct.

After reading (partially) the gcc manual on compiling optimizations i get
the following result:

Starting Threads
>>> no GIL cython:  Value: 1999000.000000 Time: 8.076570 s
no GIL ctypes:  Value: 1999000.000000 Time: 8.083144 s

this was using the following compiler directives:

>gcc -c -O3 -DBUILD_DLL ctypesgiltest.c
>gcc -shared -o ctypesgiltest.dll ctypesgiltest.o


so, the two ended up being roughly equal (for the time scale in question)
and I learned how to compile a dll.

Cheers,

Chris
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to