Are you sure in your calculations? If we have 1000 task switches at the "same time", then "after" one task start to do the job, then after 10ms it will `sleep(0)` and loop will have time to choose next task. Why loop will be paused in this case? _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/XLXI57JYP6DXDBQIBCV4SUD4DRUN3JW4/ Code of Conduct: http://python.org/psf/codeofconduct/
- [Python-ideas] Re: Add «iterate non-blocking» wrapper to ... Gustavo Carneiro
- [Python-ideas] Re: Add «iterate non-blocking» wrappe... Nikita Melentev
- [Python-ideas] Re: Add «iterate non-blocking» wr... Joao S. O. Bueno
- [Python-ideas] Re: Add «iterate non-blocking... Andrew Svetlov
- [Python-ideas] Re: Add «iterate non-bloc... Joao S. O. Bueno
- [Python-ideas] Re: Add «iterate non-bloc... Andrew Svetlov
- [Python-ideas] Re: Add «iterate non-bloc... Joao S. O. Bueno
- [Python-ideas] Re: Add «iterate non-bloc... Gustavo Carneiro
- [Python-ideas] Re: Add «iterate non-bloc... Nikita Melentev
- [Python-ideas] Re: Add «iterate non-bloc... Andrew Svetlov
- [Python-ideas] Re: Add «iterate non-bloc... Nikita Melentev
- [Python-ideas] Re: Add «iterate non-bloc... Andrew Svetlov
- [Python-ideas] Re: Add «iterate non-bloc... Nikita Melentev
- [Python-ideas] Re: Add «iterate non-blo... Greg Ewing
- [Python-ideas] Re: Add «iterate non-bloc... Gustavo Carneiro
- [Python-ideas] Re: Add «iterate non-bloc... Barry Scott