From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1040b0f89bdadc61 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: pointers , space requirements Date: 1996/12/20 Message-ID: #1/1 X-Deja-AN: 205139458 references: <59c832$4gg@corn.cso.niu.edu> organization: New York University newsgroups: comp.lang.ada Date: 1996-12-20T00:00:00+00:00 List-Id: 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 :-)