persistence request
BlitzMax Forums/Brucey's Modules/persistence request
| ||
Hi I am using the persistence module with a large number of objects. Is there a chance you could please chance it so that if an integer is zero then it ISNT written to the file? That way zero integers will turn out as zero anyway because that is the value integers start off with when they are created. |
| ||
I'll have a look into it :-) |
| ||
thanks |
| ||
you looking at a compression algo then i think |
| ||
compression doesnt reduce loading and setup time, this is just getting rid of information that doesnt need to be there. |
| ||
but when you read the information, if the 0 is not written won't the loader think the next value written in the file is the value of the integer? |
| ||
its written with field names so nothing is mixed up |
| ||
oh... xml by any chance? |
| ||
yeah, it has libxml as a requirement, you should try it out sometime if you havent already, it means you dont have to write a save game function ever again :_) |