> He is creating an array based on MAX_LEVEL.
> The size of the array, thus the amount of memory it uses, is determined by
> MAX_LEVEL.
>
> char skill_list[LEVEL_HERO][MAX_STRING_LENGTH];
>
> If MAX_LEVEL is 412 it takes up exactly twice as much memory as if it was
> 206.
hrrrrrm, perhaps so, however, running a mud with a hero level of 201, I've
never actually noticed the difference  in memory usage, or any "hang" in the
mud, no difference for me at all, as far as I've noticed.

Another thing to look at , which could POSSIBLY cause a minor bit of problem
is if you're using stc (send_to_char) rather than ptc (page_to_char) inside
of skill_list.. Again, just my 0.02...

--
 ---------------------------------------------------------------------------
------
 Common sense is great, but only to those who use it.
 ---------------------------------------------------------------------------
-------

 TJW, head tech, Dreamless Realms mud.
 mud: telnet://drealms.kyndig.com:9275
 web: http://drealms.kyndig.com
 code snippets: http://drealms.kyndig.com/snippets




Reply via email to