diff options
author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2019-07-01 16:24:39 +1200 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2019-07-18 20:54:54 +1200 |
commit | 47c0cab248ca09deb9508ff29edfd1dfc11b5f31 (patch) | |
tree | dff439fe95dc0e8d09b3de299d47cbd24c2f2d75 /NEWS | |
parent | b8242bce2301e33d3ba1fae95b68a291cc3004b5 (diff) | |
download | ruby-47c0cab248ca09deb9508ff29edfd1dfc11b5f31.tar.gz |
Add details of fiber pool and coroutine selection to NEWS.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -259,6 +259,19 @@ profile.rb, Profiler__:: === 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:: * VM stack memory allocation is now combined with native thread stack, |