C
Cyhawk
Hello. Im working on a game, (mud actually) (socketmud for anyone who
cares
and ive decided on a very large array to hold my world data.
(Nethack style, every cord == number == represents a charater/sector).
Im using gzread/gzsave to store/load the array from file, which is
nice, im using about 230k disk space when the world is filled. However,
in memory its roughly 35megs ([1000][750][11]). Ive googled around, and
asked people, and theres no answer thsus far. My question is, is there
some sort of way, to easily compress, or reduce my memory requirements
for this?
Im planning on adding another 8 maps of this size to the world, and
8x35megs is not good. Appreciate any help =)
cares
(Nethack style, every cord == number == represents a charater/sector).
Im using gzread/gzsave to store/load the array from file, which is
nice, im using about 230k disk space when the world is filled. However,
in memory its roughly 35megs ([1000][750][11]). Ive googled around, and
asked people, and theres no answer thsus far. My question is, is there
some sort of way, to easily compress, or reduce my memory requirements
for this?
Im planning on adding another 8 maps of this size to the world, and
8x35megs is not good. Appreciate any help =)