Re: [Boost-users] [context] Compiling error with context and bind

On Tue, Sep 9, 2014 at 5:32 PM, José <josessantos@zipmail.com.br> wrote:
I already tried to use Boost.Coroutine but the overhead is very high. Now, I would like to perform an evaluation of two approaches, seems that the use of Boost.Context (without coroutines) is faster.
Shrug, up to you of course. But when all is said and done, I bet you end up spending most of your CPU cycles in your own application logic.

2014-09-09 23:32 GMT+02:00 José <josessantos@zipmail.com.br>:
I already tried to use Boost.Coroutine but the overhead is very high. Now, I would like to perform an evaluation of two approaches, seems that the use of Boost.Context (without coroutines) is faster.
a context switch with bosot.context takes 8 ns while boost.coroutine requires 10 ns
participants (3)
-
José
-
Nat Goodspeed
-
Oliver Kowalke