Re: ASCII pfiles and speed

From: Zeavon (
Date: 02/04/00

On Fri, 4 Feb 2000, Ben Cartwright wrote:

>     Using ASCII pfiles instead of binary adds a great deal of flexibility as
> far as adding new stuff goes, so I decided to add them to the mud I'm
> working on.  However, it takes the mud a lot longer to get through the
> save_char function, as it's doing a lot more work than before.

I wrote an ASCII pfile system from scratch for my mud. I liked the file
format that Samedi used, but I wrote all of the code myself. [1]

I've never seen any performance hit at all with saving, loading or any
other form of player-file interaction with one exception: plist. The plist
command horribly lags the mud as it parses through the player files, but
we use plist so rarely, that I don't consider it a big problem.

[1] Nothing against Samedi's code, but I wanted to do it myself so that I
would know what the code was and how/why it was doing what it was doing.

Zeavon Calatin, MageMaster of the Realms
Spear of Insanity    telnet://

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

This archive was generated by hypermail 2b30 : 04/10/01 PDT