2 ms·
I'm not 100% sure, actually, but IIRC there is an automatic insertion of 'yield points' into ordinary chunks of Haskell code, so, yes, it will yield automatical
by Quekid5 4y ago
I'm not 100% sure, actually, but IIRC there is an automatic insertion of 'yield points' into ordinary chunks of Haskell code, so, yes, it will yield automatically even if CPU-bound. Regardless, it's never been a problem in practice.
Doing this on the JVM is not possible without actually modifying the running bytecode, so that's why they have that caveat for Loom.