Re: [Ironpython-users] time.sleep slowdown

2015-01-20 Thread Slide
The time of the sleep doesn't seem to matter, if I sleep for 0.01, it runs fine the first time, but slows down the more times I run through it. On Tue, Jan 20, 2015, 05:43 Andrew Graham wrote: > You don’t say how long you are trying to sleep for or why you want to > sleep, but every time you c

Re: [Ironpython-users] time.sleep slowdown

2015-01-20 Thread Andrew Graham
You don’t say how long you are trying to sleep for or why you want to sleep, but every time you call Sleep you abandon the rest of your timeslice. If you are trying to sleep for a few milliseconds you may be suprised by how long you actually sleep as your thread has to be rescheduled after the s