python: What is the mechanism of sleep, why do you add sleep to each cycle, and how long do you need to sleep each time

Author: EvilGenius, Created: 2021-08-05 21:44:38, Updated:

The user looks at different strategies and finds that some sleep ((1000), some sleep ((1000×60×60×24) I tried it and found that sleep ((1000×60×60×24) retest runs much faster, why is there a difference? which one is correct? and what is the mechanism of sleep (((? Call for help!


More

The grassIf you are sleeping for 1 ms, you can retest, and if you have a default interval, you can skip more intervals if you are sleeping longer.