> Message: 2 > Date: Wed, 23 May 2007 17:40:28 +0200 > From: CubicDesign <[EMAIL PROTECTED]> > Subject: Re: problems with SizeOf > To: Borland's Delphi Discussion List <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; > format=flowed > <<snip>> > one of the other fields. I don't see the point. If I add > an extra byte to force the record length at 16, then I > will have anyway an extra byte that is actually wasted. So > there is no point to 'compress' that byte to 1 bit. > > > > Inserting that extra byte will eat some memory because I > have to load LOTS of those arrays in memory so the memory > lost is substantial (length of the array is about > 10000-40000 records). I will see later if the speed is > more important than memory size.
40kb even my first computer had 55k 40k is trivial and Windows memory management means that 40ks are lost everywhere Space forgone for the video card is greater than the memory in my win3.1 box hth Mick _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

