On 3/23/98 12:20 AM, Patrick J. Dughi (dughi@IMAXX.NET) stated:
> Currently the only thing I can think of is to make a queue (say
>every mud day) and check direct comparison between hour and minute to run,
>and then.... we're still stuck with running through every entry in the
>character list every second aren't we?
I would look at the DGEvent system. It uses a queue/hash table system,
and if you pre-calculate the time the path will go off, you won't have to
run through the list.
To be honest, I use a system that runs through the character list every
second, and I have no problems really... my MUD still uses less than 0.1%
of a P2/233's time, even with several thousand mobs loaded.
- Chris Jacobson
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST