May-23-2020, 09:16 AM
I created a generator which generates variables i need to analyze. This generator is about 500 lines, it contains an list and about 20 variables doing all the job for the final outcome. It's a simple code with 2 for and a lot of if. My problem is that it takes a lot of time to run, for instance, if i try to create an list by the generator it needs 40 minutes ot so for an 100000 lenght list. Apart from running it at a better computer, is there anything i can do to make it faster?