Re: [Scheme-reports] vector-insert
Kevin Wortman 21 Aug 2014 16:56 UTC
IMO there are enough use cases where the growing feature is unneeded and it's overhead is unwanted, that the best compromise is to have both a raw fixed-size array type (i.e. an R7RS-small vector), _and_ a higher level self-resizing array. It is not hard to write a self-resizing array on top of a fixed-size array. That's what e.g. C++ and Java do.
Best regards,
Kevin Wortman
_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports