summaryrefslogtreecommitdiff
path: root/cygwin/GNUmakefile.in
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@gmail.com>2022-09-26 12:48:24 +0200
committerJean Boussier <jean.boussier@gmail.com>2022-09-26 13:41:17 +0200
commit2e88bca24ff4cafeb6afe5b062ff7181bc4b3a9b (patch)
treee77b707d1edaea8b1fa6c840e8a146a4175dd505 /cygwin/GNUmakefile.in
parent5b0396473bbcd70756a09d887fb7436d6cd72dce (diff)
downloadruby-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