diff options
| author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2019-06-02 12:49:58 +1200 |
|---|---|---|
| committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2019-07-18 20:54:53 +1200 |
| commit | 14cf95cff35612c6238790ad2f605530f69e9a44 (patch) | |
| tree | 16f6b0d32093f78591f88d30a28a5f25b45f1392 /spec/ruby/core/array/constructor_spec.rb | |
| parent | 1b82c877dfa72e8505ded149fd0e3ba956529d3f (diff) | |
Implement fiber pool for reduced fiber allocation overhead.
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.
Diffstat (limited to 'spec/ruby/core/array/constructor_spec.rb')
0 files changed, 0 insertions, 0 deletions
