2 ms·
I assumee unless you have a GIL, most operations on collections are not thread safe, but they are async safe, since context switching can only happen where you
by BiteCode_dev 5y ago
I assumee unless you have a GIL, most operations on collections are not thread safe, but they are async safe, since context switching can only happen where you await.
- gpderetta 5y agoThat's true for stackless coroutines where you can only yield from the top, but I understand that ruby has full coroutines/fibers