Python Script much slower outside of Visual Studio

Viewed 29

I have a python script to calculate the first 1M numbers of the Fibonacci Sequence. The Script takes ~6s to run when I run it from Visual Studio.

But when I start the Script directly it will take over 100s. I tried Compiling the Script but that didn't change anything.

What exactly is causing that and how can I get the same speed outside Visual Studio?

0 Answers
Related