[MUD-Dev] Data Storage and MFC Questions
Ben Chambers
bjchambers at phoenixdsl.com
Sat Mar 10 12:19:24 CET 2001
What is the best way of storing the data for a MUD. I know that the
most common is probably arrays or hash tables. Hash Tables, from what
I understand are arrays that have a faster lookup because of the hash
function. Which one do you use, and why? Also, has anyone ever tried
using MFC to write a MUD server? For example, I have found the MFC
Map, which is basically a wrapping of a hash table, as having a good
chance for usage in data storage. You write a subroutine as part of
the class describing the hash function for a specific type of data.
Then you just add data by index and value. And you can reference by
index, or delete by index. It is a very easy way of using a hash
table. MFC also has prospects in other aspects of MUD Design. It
allows for the simplification of many processes, including dynamic
object creation.
_______________________________________________
MUD-Dev mailing list
MUD-Dev at kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev
More information about the mud-dev-archive
mailing list