Re: arrays vs. vectors
- From: bh@xxxxxxxxxxxxxxxxxxxxxxx (Brian Harvey)
- Date: Sat, 28 Jan 2006 17:04:32 +0000 (UTC)
Lauri Alanko <la@xxxxxx> writes:
>Which is of course amortized to Theta(1), so it's not really relevant
>unless you're doing real-time applications.
Oh, sure, I didn't mean to imply otherwise -- although, since we're quibbling,
there is an optional mode, for people more worried about space than about
time, in which each copying step adds a constant number of cells, and if you
choose that, then even the amortized time is Theta(n), but with a small
constant factor.
.
- Follow-Ups:
- Re: arrays vs. vectors
- From: Vesa Karvonen
- Re: arrays vs. vectors
- References:
- arrays vs. vectors
- From: H.
- Re: arrays vs. vectors
- From: Brian Harvey
- Re: arrays vs. vectors
- From: Lauri Alanko
- arrays vs. vectors
- Prev by Date: Re: interactive scheme
- Next by Date: Re: interactive scheme
- Previous by thread: Re: arrays vs. vectors
- Next by thread: Re: arrays vs. vectors
- Index(es):