diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-06-12 20:52:48 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-06-12 20:52:48 -0700 |
commit | cac8bf56f8dd8876ae3021ae98be693f25515e80 (patch) | |
tree | c1ffec4c39b91d86d4b61e4253823bb6faf0a732 /txr.1 | |
parent | 8ea3c6bfbb82c122bd93abb02a3600c3512ff24c (diff) | |
download | txr-cac8bf56f8dd8876ae3021ae98be693f25515e80.tar.gz txr-cac8bf56f8dd8876ae3021ae98be693f25515e80.tar.bz2 txr-cac8bf56f8dd8876ae3021ae98be693f25515e80.zip |
sub-vec: optimize no-op case.
* lib.c (sub_vec): If range covers entire vector, just
return it.
* txr.1: Clarify that the output of sub may share structure
with the input regardless of type, not only when the input
is a list. This should have been updated when the optimizatin
was done in sub-str.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -26860,8 +26860,7 @@ The description of the operator\(emin particular, the section on Range Indexing\(emexplains the semantics of the range specification. -If the sequence is a list, the output sequence may share substructure -with the input sequence. +The output sequence may share structure with the input sequence. If .meta sequence |