Re: Circlemud design issues-bzero

From: Angus Mezick (angus@EDGIL.CCMAIL.COMPUSERVE.COM)
Date: 04/24/98


Hmm... watch out with bzero.  i think it has be put into the obselete pile on
some OS's

--Angus

______________________________ Forward Header __________________________________
Subject: Re:  Circlemud design issues
Author:  INTERNET:CIRCLE@POST.QUEENSU.CA at CSERVE
Date:    4/24/98 1:15 AM

George <greerga@CIRCLEMUD.ORG> writes:

> >  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.

Sure, bzero or memset would be just as good.  The code is non-optimized.


     +------------------------------------------------------------+
     | 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