diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-12-29 00:14:55 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-12-29 00:14:55 -0800 |
commit | 9dae5ba49c7595355ddcf336032c2e12aa84be5f (patch) | |
tree | 40fb5c0327c5cde5d220a9d27bf929a782c09491 /txr.1 | |
parent | 626cbfb9ac8e93bd55cd19a611c56f7cb34b8374 (diff) | |
download | txr-9dae5ba49c7595355ddcf336032c2e12aa84be5f.tar.gz txr-9dae5ba49c7595355ddcf336032c2e12aa84be5f.tar.bz2 txr-9dae5ba49c7595355ddcf336032c2e12aa84be5f.zip |
shuffle/nshuffle: eliminate wasteful vector copy.
* lib.c (nshuffle): When shuffling the vector that was
converted from the list, use nshuffle rather shuffle, because
it's a temporary, non-shared object we can mutate.
Diffstat (limited to 'txr.1')
0 files changed, 0 insertions, 0 deletions