mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add details of fiber pool and coroutine selection to NEWS.
This commit is contained in:
parent
b8242bce23
commit
47c0cab248
1 changed files with 13 additions and 0 deletions
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…
Reference in a new issue