Re: Just wondering, anyone as insane as Hades?

From: Mark Devlin (markd@eskimo.com)
Date: 04/10/96


On Wed, 10 Apr 1996, Hades wrote:

> Well I admint, yeah it's huge. Why? Because at startup I initalize
> teh array for 32768 records, the max # of rooms. But it's an array of
> pointers, so the memory it uses isn't overly huge, like 120k if I am
> right in that a pointer to a structure is 4 bytes of data, but I might
> be wrong there. I figure 120k of memory is nothing compared to the
> speed and cpu time it would save me. That hash-table idea ia cool too,
> I'm gonna look into it.

Actually, 120K is kinda steep. :-) Since you've redesigned how the
rooms are done, you probably don't have that 32K record limit anymore
(conceptually at least :-) )

The hash table's probably the best way to go.

- Mark
markd@eskimo.com	(finger markd@eskimo.com for my PGP signature)



This archive was generated by hypermail 2b30 : 12/18/00 PST