diff options
| author | Jean Boussier <jean.boussier@gmail.com> | 2025-12-03 15:35:03 +0100 |
|---|---|---|
| committer | Jean Boussier <jean.boussier@gmail.com> | 2025-12-10 10:30:18 +0100 |
| commit | c5608ab4d79f409aaa469b4f4a20962a0ba4a688 (patch) | |
| tree | 0e6b659b78a5b3db4f72c3cde0f67f652e1e7ae0 /test/ruby | |
| parent | ef4490d6b166fc1fd802d58faceeb038737afc7e (diff) | |
Monitor: avoid repeated calls to `rb_fiber_current()`
That call is surprisingly expensive, so trying doing it once
in `#synchronize` and then passing the fiber to enter and exit
saves quite a few cycles.
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
