--- "Chris \"Winston\" Litchfield" <[EMAIL PROTECTED]> wrote: > Its not my query. He did ask about performance specifically.
Sorry for the confusion, by "initial query" I meant when you said "Macros using global memory?" > ROM is chock full of global variables. In essense I consider global > variables a "Data base" and try and keep active things local to the > proceedures. Ideally even such "Data bases" should be abstracted behind functions, etc. They still wouldn't be global. This would make a transition to other types of storage & retrevial very easy to implement. It would also allow you limit the access to these variables and structures to well known and well optimized functions. This in turn increases maintainability, and allows you to fine tune your optimization without requiring massive redesigns each time. > Take damage.. passing ch though to raw_kill. I added an active_flags set > on the char to identify what operation was happening. This cleaned up > plenty of slight bugs. I'm not sure I understood this example, perhaps you could elaborate? ~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!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com

