Re: [OPTIMIZATION] RAM (previously: Random Thought)

From: Fizal (amustapa@GameBox.net)
Date: 10/11/00


At 08:56 AM -0700 11/10/2000, George Greer wrote:
..
>Optimize for what? CPU/Memory are not always mutually exclusive
>optimization.  If you want the all-cpu/little-memory approach, try my
>little patch I can't current find that shoves all room message/title
>accesses into a file.  In the meantime, this is related:
>
>http://www.circlemud.org/pub/CircleMUD/contrib/code/desc_load.tar.gz

The world swap patch that you mentioned:

http://www.circlemud.org/pub/CircleMUD/contrib/code/wldswp.patch

Downloaded a copy and changed it a year or so ago to include obj/mob desc
and extra desc for obj/room as well. Also changed the accessing method. But
all in all it definitely killed the memory usage by more than half :)


---

Afizal Mustapa
Petaling Jaya, Selangor, Malaysia.
(amustapa@hotmail.com)


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/10/01 PDT