A quick summary of one of the benefits of continuation stealing --
In code like this, which assumes that the continuation will spawn more threads, stealing the continuation means "stealing a large chunk of work", which implies the overhead cost of stealing is actually worth it.
This comment was marked helpful 0 times.
uhkiv
For those of us who are in 312, this concept should remind us of streams we had to face on the midterm.
A quick summary of one of the benefits of continuation stealing -- In code like this, which assumes that the continuation will spawn more threads, stealing the continuation means "stealing a large chunk of work", which implies the overhead cost of stealing is actually worth it.
This comment was marked helpful 0 times.
For those of us who are in 312, this concept should remind us of streams we had to face on the midterm.
This comment was marked helpful 0 times.