[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why vectors?

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
per@xxxxxxxxxxx   http://per.bothner.com/