diff options
| author | John Hawthorn <john@hawthorn.email> | 2025-03-26 18:23:04 -0700 |
|---|---|---|
| committer | John Hawthorn <john@hawthorn.email> | 2025-04-07 16:56:44 -0700 |
| commit | b3b1d7b2952037727abfa66236d43e434003524a (patch) | |
| tree | 9a80f4527e98ee106f4b1cf2ab68be55f52ee32c /include | |
| parent | 4646ab89179aa3dac917a16aaa16533548ad33d9 (diff) | |
Remove spinlock in dtoa's Balloc, use xmalloc
The spinlock here performs poorly when there are multiple Ractors. The
improvement on single threaded performance doesn't seem that
significant, so I think we should just use malloc.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12991
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
