Python3 significantly slower than Python2

I am participating in The Great Escape and I am getting not great performance with Python3. Firstly, my code runs nearly 10 times faster in the simulator, than in the arena. I am timing it and printing to stderr. Secondly, I am not sure if Python3 is just slower than Python2, but with Python2 my code runs twice as fast (which is just fast enough for it to not timeout).

Would be interesting to hear from the developers in CodinGame. : )


1 Like