Why is there no way to resize SRFI-4 vectors in a diagram?

I see that SRFI 4 does not mention resizing vectors. I use f64vectors (for which I need quick access), and I would like to be able to change them quickly (similar to what realloc does in C), and it is not necessary to copy the whole vector.

Since I did not find references to the "resize-f64vector" procedure, I would like to know why this does not exist (and if creating a new vector and copying is my only option).

+3
source share
2 answers

A couple of reasons.

, . , , . , - , .

, , , , . , .

, , , , , , , , . .

, , , .

- .

, , .

+1

Gambit-C Scheme , , . , , , , , .

+1

Source: https://habr.com/ru/post/1738561/


All Articles