The question that came over the list about making MSL (MAX_STRING_LENGTH) very large got me thinking. Looking through the code.. most char buf's are defined as MSL... 4608 bytes... and there are a lot of them. Yet most of the things that are stuck in buffers are 80-100 characters long.. Now, I know it would be a huge undertaking, but wouldn't it save a lot of space internally if those were changed to either smaller buffers and make sure they were large enough for the largest string, or change all the:sprintf(buf, "blah blech", foo); send_to_char(buf, ch);
to printf_to_char(ch, "blah blech", foo); I'm just wondering how much space I'd save internally and if it would even be worth it.. a quick grep through the code, shows at least 367 different variables being set to MSL. That's 1691136 bytes... of which most of it is wasted... now with the cost of memory these days (even on hosting providers) being so low, it may not make a bit of difference. I just wanted to throw something out to the list I haven't seen discussed. Jef Waite

