On Mon, 21 Feb 2022 at 05:07, Shaozhong SHI <shishaozh...@gmail.com> wrote: > However, I have no idea whether this approach will be faster than > conventional approach. > > Any one has idea?
Try it. Find out. The only way to know is to measure. I can't see the sleep call though. You may need to post your actual code instead of trivial examples. ChrisA -- https://mail.python.org/mailman/listinfo/python-list