diff options
| author | Jean Boussier <byroot@ruby-lang.org> | 2023-11-02 11:02:43 +0100 |
|---|---|---|
| committer | Jean Boussier <jean.boussier@gmail.com> | 2023-11-02 23:34:58 +0100 |
| commit | ac8ec004e5272d589caca30616dbe12862150188 (patch) | |
| tree | a3fb421e8ad6ddf400130b81fe33805c7c352fab /test/ruby/test_lambda.rb | |
| parent | ee7bf4643d2716d44e13a732caf588b1a6275f7a (diff) | |
Make String.new size pools aware.
If the required capacity would fit in an embded string,
returns one.
This can reduce malloc churn for code that use string buffers.
Diffstat (limited to 'test/ruby/test_lambda.rb')
0 files changed, 0 insertions, 0 deletions
