diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-02-05 23:27:48 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-02-07 12:23:35 +0100 |
commit | 032acdeac9dfe6b407a1fcbd9f00c3e1a0dd27aa (patch) | |
tree | c1d6a755728448d1413d576c742a6a6ee165c446 /module/system | |
parent | 2f9bc7fe61d39658a24a15526b7b88bbd184961b (diff) | |
download | guile-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