summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorJean Boussier <byroot@ruby-lang.org>2023-11-02 11:02:43 +0100
committerJean Boussier <jean.boussier@gmail.com>2023-11-02 23:34:58 +0100
commitac8ec004e5272d589caca30616dbe12862150188 (patch)
treea3fb421e8ad6ddf400130b81fe33805c7c352fab /test/ruby
parentee7bf4643d2716d44e13a732caf588b1a6275f7a (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')
0 files changed, 0 insertions, 0 deletions