Add details of fiber pool and coroutine selection to NEWS.
This commit is contained in:
parent
b8242bce23
commit
47c0cab248
13
NEWS
13
NEWS
@ -259,6 +259,19 @@ profile.rb, Profiler__::
|
|||||||
|
|
||||||
=== Implementation improvements
|
=== Implementation improvements
|
||||||
|
|
||||||
|
Fiber::
|
||||||
|
|
||||||
|
* Allow selecting different coroutine implementation by using
|
||||||
|
`--with-coroutine=`, e.g.
|
||||||
|
|
||||||
|
./confgure --with-coroutine=ucontext
|
||||||
|
./confgure --with-coroutine=copy
|
||||||
|
|
||||||
|
* Replace previous stack cache with fiber pool cache. The fiber pool
|
||||||
|
allocates many stacks in a single memory region. Stack allocation
|
||||||
|
becomes O(log N) and fiber creation is amortized O(1). Around 10x
|
||||||
|
performance improvement was measured in micro-benchmarks.
|
||||||
|
|
||||||
Thread::
|
Thread::
|
||||||
|
|
||||||
* VM stack memory allocation is now combined with native thread stack,
|
* VM stack memory allocation is now combined with native thread stack,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user