![]() |
#11 |
Veteran
Join Date: Jun 2007
Posts: 1,365
![]() |
I've actually tried something very similar, and I was actually surprised that (at least with the libraries I tried) JSON serialization actually adds a considerable overhead to just writing out the save game data compared to the current situation. (My experiment was in ToME 2, but I'd assume it's pretty similar in Angband -- I don't think the code has changed that much.)
Some of this has to do with the absurd overhead of serializing e.g. each dungeon tile as individual strings, etc., but... |
![]() |
![]() |
![]() |
#12 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,052
Donated: $40
![]() |
Amusing story: originally thw bing search engine did all its anysis on json or a similar format, but a performance analysis showed it was spending 50% of CPU time in binary-decimal interconversion, and a bunch more time just parsing the files. It is a prohibitively costly format for large datasets.
|
![]() |
![]() |
![]() |
Tags |
json, savegame |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
cannot read file '64x64.png' | ZenDragon | Vanilla | 3 | August 27, 2013 17:18 |
Save File failure | CyclopsSlayer | v4 | 2 | June 8, 2012 16:43 |
where is the save file?? | mlevin77 | Development | 3 | March 15, 2012 12:40 |
Save File Debugger | Sirridan | Development | 13 | August 25, 2011 14:42 |
can't load save file. anti-save scumming feature? | unbuttered_toast | Vanilla | 4 | May 21, 2010 18:57 |