ID:138117
 
i was wondering... when useing lots of maps and linking them together in a zone like effect... is it better to use lots of seperate files? or one file with multiple Z levels? or is there no difference?

(i mean better performance and memory wise, not code wise)
On 3/25/01 5:52 am Mloren wrote:
i was wondering... when useing lots of maps and linking them together in a zone like effect... is it better to use lots of seperate files? or one file with multiple Z levels? or is there no difference?

(i mean better performance and memory wise, not code wise)

Performance- and memory-wise, no difference whatsoever.

[edited] Actually, the file header in two files takes up maybe an additional KB or so if you have a lot of objects and two maps rather than one (and thus merely one file header). But that's pretty much negligible, since that has no impact on anything but the designer's disk space.

Design-wise, however, I find it much easier to put them all in a single .dmp file because then I know the order of every map in my world, so referring to them by Z level is a cinch. With multiple maps, you have to do a little math beforehand, and while that isn't difficult, it is unnecessary.

(Post is better suited to Design Philosophy, but... oh well. =)