Re: Get/Put spam killing?

From: George (greerga@CIRCLEMUD.ORG)
Date: 12/11/97


On Thu, 11 Dec 1997, Leonardo Herrera L. wrote:

>I have downloaded this patch, but before to install it, I need to ask if
>this is not very expensive in terms of speed (We have our mud running on
>a linux box with a 486 and 12 (!) mb of RAM! ouch!)...

If there is no match, you only do a strstr().

If it does match, it str_dup() and strcpy() and some other minor things.

Shouldn't cause too much extra work, but it will be more to do. (Maybe
0.5% processor time total for the MUD?) :)

--
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/08/00 PST