>>1
Python on Win32: 26.828s
GCC/MinGW 3.4.2: 0.328s
(and not because of any overhead - verified with 10 iterations)
Python with psyco (dynamic specializator) on Win32: 0.047s
Hint:
OWNED! FUCKING OWNED YOU FAGGOT!
Using psyco:
import psyco
psyco.full()
def main():
#Your code begins here, intact
x = 0
while x < 100000000:
x += 1
Does psyco really run 100M iterations? I doubt it. It shouldn't be faster than C. It most surely detected what I was doing was bullshit and dynamically optimized function main to return None.