(Previous discussion continued)
Re: Why vectors? Per Bothner 12 Aug 2008 07:21 UTC

Re: Why vectors? Per Bothner 12 Aug 2008 07:21 UTC

Elf wrote:
> creation of a new fixed-length vector is O(1).

To be nit-picky: I don't see how that is possible.
After all, the member for the vector does at least
have to br zeroed out.

Of course the constant factor is usually very low.
--
	--Per Bothner
xxxxxx@bothner.com   http://per.bothner.com/