summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2019-07-01 16:24:39 +1200
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2019-07-18 20:54:54 +1200
commit47c0cab248ca09deb9508ff29edfd1dfc11b5f31 (patch)
treedff439fe95dc0e8d09b3de299d47cbd24c2f2d75 /NEWS
parentb8242bce2301e33d3ba1fae95b68a291cc3004b5 (diff)
Add details of fiber pool and coroutine selection to NEWS.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS13
1 files changed, 13 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 4b6e756ab5..3f841a6939 100644
--- a/NEWS
+++ b/NEWS
@@ -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,