Re: [Scheme-reports] vector-insert John Cowan (22 Aug 2014 13:11 UTC)
Re: [Scheme-reports] vector-insert Vassil Nikolov (22 Aug 2014 18:04 UTC)
Re: [Scheme-reports] vector-insert John Cowan (22 Aug 2014 18:42 UTC)
Re: [Scheme-reports] vector-insert Vassil Nikolov (22 Aug 2014 20:57 UTC)

Re: [Scheme-reports] vector-insert John Cowan 22 Aug 2014 13:07 UTC

Sascha Ziemann scripsit:

> Maybe we could come back to the original question how to avoid unnecessary
> initializations during the the creation of a new vector by parts of other
> vectors. The standard requires to use make-vector and vector-copy which
> initializes the new vector twice.

I've added a vector-append-subvector procedure to VectorsCowan, my proposal
for a general vector library for R7RS-large.  A Scheme is free to implement
this portably or using unsafe primitives.

> Is here a broad consent that it is not worth to care about, because one
> should disregard vectors in favour of gap buffers?

Gap buffers, or indirect vectors that can be swapped out, or any number
of other things.

--
John Cowan          http://www.ccil.org/~cowan        cowan@ccil.org
I must confess that I have very little notion of what [s. 4 of the British
Trade Marks Act, 1938] is intended to convey, and particularly the sentence
of 253 words, as I make them, which constitutes sub-section 1.  I doubt if
the entire statute book could be successfully searched for a sentence of
equal length which is of more fuliginous obscurity. --MacKinnon LJ, 1940

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports