summaryrefslogtreecommitdiffstats
path: root/tests/009/json.txr
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-04-19 01:03:17 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-04-19 01:03:17 -0700
commit9e334c1762dc964c6e267dca3780db3a7c8493c7 (patch)
treee43c5305122ad6e66876da2bd090399775674d75 /tests/009/json.txr
parent9cfc6030cf1c38e37345d8e85396ee03bffa67b3 (diff)
downloadtxr-9e334c1762dc964c6e267dca3780db3a7c8493c7.tar.gz
txr-9e334c1762dc964c6e267dca3780db3a7c8493c7.tar.bz2
txr-9e334c1762dc964c6e267dca3780db3a7c8493c7.zip
No-op optimization in substring.
* lib.c (sub_str): Optimization: if the range spans the entire string, just return it; don't allocate a copy.
Diffstat (limited to 'tests/009/json.txr')
0 files changed, 0 insertions, 0 deletions