| Message |
It would probably work, once you had allowed for all references to vnums to be long long (or __int64 on Windows) however do you really need more than 1,073,741,824 rooms in a single MUD?
Bearing in mind each room is stored in memory, even that many rooms, at a byte per room (and in fact they would take a lot more, say 100 bytes per room) would take 1 Gb of RAM (at 1 byte per room) or 100 Gb of RAM for 100 bytes per room.
Then you would have the issue of reading the area files in, and so on.
Of course, you don't need to use all the vnums, it would give you the flexibility of lots of ranges, but you really get that with 1 billion vnums, if you allocate a range of, say 1000 vnums per area. That still lets you have 1 million areas. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|