15 Jan
2014
15 Jan
'14
11:04 a.m.
2014/1/15 Antony Polukhin
2014/1/14 Oliver Kowalke
I did a quick hack and the code using fibers is 2-3 times faster than the threads. boost.fiber does not contain the suggested optimizations (like replacing stl containers)
Not bad! Did the tests run on Linux or Windows?
I've tested it on Linux (32bit/64bit), Windows will follow this evening. Because the code is not optimized (memory allocations in context/coroutine and fiber) it will not be competitive with qthreads, tbb, hpx yet. But this was not the main aim - the lib tries to integrate with other boost lib and to support new use-cases (for instance code writen like its synchronous counterpart but using asynchronous operations).