From 983ee1afbab1108c3608ba4228824f6944301d69 Mon Sep 17 00:00:00 2001 From: "Arthur A. Gleckler" Date: Wed, 13 Jan 2021 21:52:54 -0800 Subject: Copy edits. Publish second draft. --- srfi-214.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srfi-214.html b/srfi-214.html index 865742a..93d2fc0 100644 --- a/srfi-214.html +++ b/srfi-214.html @@ -1,4 +1,4 @@ - + SRFI 214: Flexvectors @@ -180,7 +180,7 @@

flexvector-reverse-copy is the same, but copies the elements in reverse order from fv.

(flexvector-reverse-copy (flexvector 'a 'b 'c 'd) 1 4)
;=> #<flexvector d c b>

Both start and end are clamped to the range [0, (flexvector-length fv)). It is an error if end is less than start.

-

flexvector-copy shares the performance characteristics of vector-copy--in particular, if a given Scheme's vector-copy uses a fast memcpy operation instead of an element-by-element loop, flexvector-copy should also use this operation.

+

flexvector-copy shares the performance characteristics of vector-copy — in particular, if a given Scheme's vector-copy uses a fast memcpy operation instead of an element-by-element loop, flexvector-copy should also use this operation.

flexvector-append

(flexvector-append fv ...)

Returns a newly allocated flexvector that contains all elements in order from the subsequent locations in fv ....

@@ -286,7 +286,7 @@

flexvector-reverse-copy! is the same, but copies elements in reverse order.

start and end default to 0 and (flexvector-length from) if not present. Both start and end are clamped to the range [0, (flexvector-length from)]. It is an error if end is less than start.

Unlike vector-copy!, flexvector-copy! may copy elements past the end of to, which will increase the length of to.

-

flexvector-copy! shares the performance characteristics of vector-copy!--in particular, if a given Scheme's vector-copy! uses a fast memcpy operation instead of an element-by-element loop, flexvector-copy! should also use this operation.

+

flexvector-copy! shares the performance characteristics of vector-copy! — in particular, if a given Scheme's vector-copy! uses a fast memcpy operation instead of an element-by-element loop, flexvector-copy! should also use this operation.

Both procedures return to after mutating it.

Iteration

flexvector-fold, flexvector-fold-right

-- cgit 1.4.1