goroutines vs vibe.d tasks

Sönke Ludwig via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jul 10 11:35:49 PDT 2015


Am 01.07.2015 um 09:55 schrieb Daniel Kozák:
> On Wed, 01 Jul 2015 03:28:01 +0000
> "rsw0x" <anonymous at anonymous.com> wrote:
>>
>> how do they compare if you replace the sleep with yield?
>
 > Same problem still extreamly slow

Hm, this is strange. I'll have to find some time to profile this. More 
or less all that yield() does is to call Fiber.yield() and then once 
processes pending events.


More information about the Digitalmars-d-learn mailing list