--- Dale Kingston <[EMAIL PROTECTED]> wrote: > But keep in mind, if you give your mobs a command buffer. You are going to > use a little bit more memory. Which isn't a problem, but I try to be > concervative with memory. A bare pointer may only take 4 bytes. But multiply > that by 1000 mobs, and that 4 bytes isn't so small.
That's assuming you need to have all 1000 mobs in memory at once, or that memory is at a premium on the system this program is running on. I assume neither. ;p I prefer to develop a robust, easily maintainable logic structure. Then after that's been done I go back and test the performance and determine where things can/should be better optimized. ~Kender ===== -----BEGIN GEEK CODE BLOCK----- Version 3.1 GCS/L/C/O d-(+) s++: a-- C+++$>++++ UBLS++++$ P+++(--)$ L+++>++++ E--- W+>++$ N !o K? w(--) !O M- !V PS+ PE(++) Y+ PGP->+ t+ 5 X+() R(+) tv+@ b++(+++) !DI+++ D G(-) e>+++$ h---() r+++ y+++ ------END GEEK CODE BLOCK------ __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com

