1
0
Fork 0
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:
Samuel Williams 2019-07-01 16:24:39 +12:00
parent b8242bce23
commit 47c0cab248
No known key found for this signature in database
GPG key ID: A0765423A44728FB

13
NEWS
View file

@ -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,