Email list hosting service & mailing list manager


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/