summaryrefslogtreecommitdiff
path: root/module/system
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-02-05 23:27:48 +0100
committerLudovic Courtès <ludo@gnu.org>2022-02-07 12:23:35 +0100
commit032acdeac9dfe6b407a1fcbd9f00c3e1a0dd27aa (patch)
treec1d6a755728448d1413d576c742a6a6ee165c446 /module/system
parent2f9bc7fe61d39658a24a15526b7b88bbd184961b (diff)
downloadguile-032acdeac9dfe6b407a1fcbd9f00c3e1a0dd27aa.tar.gz
'string->symbol' avoids copying the underlying string.
* libguile/strings.c (scm_i_make_symbol): Reuse NAME's stringbuf unless it's mutable or NAME starts at a non-zero offset or has a different length.
Diffstat (limited to 'module/system')
0 files changed, 0 insertions, 0 deletions