Re: Circlemud design issues

From: George (greerga@CIRCLEMUD.ORG)
Date: 04/23/98


On Thu, 23 Apr 1998, James Turner wrote:

>  for (i = 0; i < MAX_PARAMS; i++)
>    split_results[i][0] = 0;

memset?

Somewhat overkill, but if you don't unroll that loop it would be faster.

>  while(*arg && isspace(*arg)) arg++;

skip_spaces?

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | 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/15/00 PST