Buffer system

From: George (greerga@DRAGON.HAM.MUOHIO.EDU)
Date: 08/18/97

Version 1.1 of the buffer code is now available!

Gone with these release is any dependance upon the original CircleMUD
buffers, a very tedious task.

The next release will remove depedance on release_all_buffers() to free a
couple buffers that functions don't release.  (Look for warnings and grep
for XXX in the code if you want to know where they are.)

It's usable and takes only 19.875 KB for data instead of 32KB for original
CircleMUD. (~20KB if you could 20 byte struct overhead for each node.)

Also new is a cache that saves the location of the last given buffer to
speed up cases where a buffer is only needed to spit out a log message.

This is not really intended for general use yet. The release of version
2.0 will mark the start of that purpose, while 1.0 proved it could work.

And maybe in the future, I'll have it check for overruns on the string...
Functions that police other functions, funky...could even report WHICH
one went past the buffer and what was written in it at the time...

This could be really, really cool.

greerga@muohio.edu me@null.net | Genius may have its limitations, but stupidity
http://www.muohio.edu/~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