Re: ASCII data files

From: Sammy (samedi@DHC.NET)
Date: 12/10/97


On Wed, 10 Dec 1997, Edward Glamkowski wrote:

> Main problem is disk space - ascii pfiles will take up A LOT more disk
> space than binary.

Where'd you get that idea?

Ascii pfiles gave me a 40% savings on the large mud I coded it for (approx
1800 players in the file when converted).  The ascii object files saved
more like 60%.

Just think how much more you could save if you did a little more space
optimization.

Speed is more of an issue, but if you read and write the entire file at
once (using fread/fwrite) and parse to/from memory, you can write off that
problem.

Sam


     +------------------------------------------------------------+
     | 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