Python Forum
Trying to find a more cpu effecent way of doing this.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trying to find a more cpu effecent way of doing this.
#8
Quote:In a maze of twisty little passages all alike. (From the first adventure game ... Colossal Cave)
I am old enough to remember this game, on my TRS-80! (In a few years, I will be old enough to have forgotten it!)

Quote:Yes I understand that it will kill one program then wait 3 seconds then kill the next in the array.
But if there is nothing to kill, your program will again go through the list without waiting three seconds and this is what consumes your CPU cycles.

Just move statement 7 three indents to the left (align it to statement 3) and let us know the results!
Reply


Messages In This Thread
RE: Trying to find a more cpu effecent way of doing this. - by squenson - Dec-16-2017, 08:02 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020