On Wed, 10 Sep 1997, George wrote: > On Wed, 10 Sep 1997, Daniel Koepke wrote: > >On Wed, 10 Sep 1997, George wrote: > >-+#define C_MOB_SPEC(zone,mob) \ > >-+ if ((check = real_mobile(((zone)*100)+(mob))) < 0) {\ > > if (real_mobile(((zone)*100)+(mob))) < 0) { \ > >will work fine (er, should). > Because then you have the overhead of doing TWO real_mobile() lookups which > can easily be avoided by a 2 (or 4) byte integer on the stack that goes > away at the end of assign_kings_castle() > > It's faster at no cost. Maybe I'm nuts, but does a smigen of time on boot really have any affect on anything at all? you would especially want to cut back on memory usage on functions that after bootup, are never used again... Brazil +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST