Re: Big buffers

From: George (
Date: 11/23/98

On Tue, 24 Nov 1998, Ronny Iversen wrote:

>I was wondering how to handle big buffers. For example my show zones
>is now so big it causes a lag and lately a crash whenever anybody use it?

Sounds like overflow.

>Any ideas how to handle big buffers in the mud efficiently?

char this_is_big_buffer[819200];

or malloc().

(Too big a number in the array above will cause a stack fault though.)

George Greer, | Genius may have its limitations, but   (mostly) | stupidity is not thus handicapped.    |                  -- Elbert Hubbard

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/15/00 PST