diff options
author | Jean Boussier <jean.boussier@gmail.com> | 2022-09-26 12:48:24 +0200 |
---|---|---|
committer | Jean Boussier <jean.boussier@gmail.com> | 2022-09-26 13:41:17 +0200 |
commit | 2e88bca24ff4cafeb6afe5b062ff7181bc4b3a9b (patch) | |
tree | e77b707d1edaea8b1fa6c840e8a146a4175dd505 /cygwin/GNUmakefile.in | |
parent | 5b0396473bbcd70756a09d887fb7436d6cd72dce (diff) | |
download | ruby-2e88bca24ff4cafeb6afe5b062ff7181bc4b3a9b.tar.gz |
string.c: don't create a frozen copy for str_new_shared
str_new_shared already has all the necessary logic to do this
and is also smart enough to skip this step if the source string
is already a shared string itself.
This saves a useless String allocation on each call.
Diffstat (limited to 'cygwin/GNUmakefile.in')
0 files changed, 0 insertions, 0 deletions