3 ms·
While true, the same would apply to code using Async blocks. Async does not attempt (or intend) to enable parallel execution of VM byte code. If the parent com
by grncdr 5y ago
While true, the same would apply to code using Async blocks. Async does not attempt (or intend) to enable parallel execution of VM byte code.
If the parent commenter saw a speed up in their tests, it’s reasonable to assume that is because of the difference in overhead of switching threads vs fibers.
- formerly_proven 5y agoFibers don't contend on the GIL.