comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: creating database
Date: Mon, 09 May 2005 00:47:05 -0500
Date: 2005-05-09T00:47:05-05:00	[thread overview]
Message-ID: <9cKdnRAx8IfEZOPfRVn-pg@comcast.com> (raw)
In-Reply-To: m2is1to9s7.fsf@hugin.crs4.it

> > don't know how many records there'll be so it seems inefficient to
> > declare an array of a particular size.
>
> Sensible thinking.
> ...
> Instead of allocating a fixed size array - which on unix systems isn't
> quite as bad an idea as it sounds - you can allocate and reallocate
  A fixed array allocation may be the both the most efficient and the
simplest on a virtual memory system.  The parts you don't use don't
occupy any physical space, just address space, and the OS's allocation
of physical space may well be difficult to beat in efficiency.



  reply	other threads:[~2005-05-09  5:47 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-08 17:02 creating database caellumx
2005-05-08 17:36 ` Ludovic Brenta
2005-05-08 18:17   ` Jacob Sparre Andersen
2005-05-09  2:51     ` Matthew Heaney
2005-05-08 18:24 ` Jacob Sparre Andersen
2005-05-09  5:47   ` tmoran [this message]
2005-05-09 12:33     ` Robert A Duff
2005-05-09  3:00 ` Matthew Heaney
2005-05-11 16:57   ` brian.b.mcguinness
2005-05-11 21:16     ` Georg Bauhaus
2005-05-12  0:37     ` Randy Brukardt
2005-05-12  2:41     ` Matthew Heaney
2005-05-11 10:43 ` news.snafu.de
2005-05-12  2:50   ` Matthew Heaney
2005-05-12  7:31     ` Michael Erdmann
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox