I wouldn't expect a full 2x in every case. But it can also be very significant in cases where Cython deduces the type of local variables.
I wouldn't expect a full 2x in every case. But it can also be very significant in cases where Cython deduces the type of local variables.
But I want to note it is ridiculously under-documented how to make what I would call a functional a.out from this toolset.
You basically are assumed to run python3 >>> import 'mything' and then run mything.main(args) instead of getting a functional commandline tool which "just runs" -the stepover is small, true, but I would have thought the PRIMARY use case here is commandline executable, not "embed .so in my interpreter"
There are a tonne of stack overflow "how do I" and all of them are really whacked: everyone trips over the same problems of :main undefined and a swag of other problems trying to call (g)cc themselves.
My primary experience in Python3 is to minimise REPL and get to commands which do stdin -> <process it> -> stdout and gang them up, or uplift discrete commands into yield() pipes inside the same interpreter.
I guess I fell into the trap of going from the particular to the general.