comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: pointers , space requirements
Date: 1996/12/20
Date: 1996-12-20T00:00:00+00:00	[thread overview]
Message-ID: <dewar.851104276@merv> (raw)
In-Reply-To: 59c832$4gg@corn.cso.niu.edu


Robert asks

"        So could y'all give me a ballpark figure for the memory
allocation of a pointer?

Robert"



A rather odd question!

The pointer itself takes up one or possibly two words, but presumabvly
you have to account for the memory reqwuired for the data referenced
by the ointer.

The ballpark requirements for the referenced memory are in the range
one byte (for a one byte string referenced by a pointer) to 
4 gigabytes (for a 4 gig string referenced by a pointer). Of course
if you have a machine with 64-bit addressing, these estimates are
far too narrow :-)





      parent reply	other threads:[~1996-12-20  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-12-19  0:00 pointers , space requirements system
1996-12-19  0:00 ` Larry Kilgallen
1996-12-20  0:00 ` Robert Dewar [this message]
replies disabled

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