boskee / Minecraft

Simple Minecraft-inspired program using Python and Pyglet
MIT License
206 stars 33 forks source link

New Save System (Structured Flatfile) #44

Closed Nebual closed 11 years ago

Nebual commented 11 years ago

Added a new save mode, see the commit descriptions for details. Also restructured savingsystem.py

Benchmarks: Old Uncompressed Pickle: 2.96 second save, 3.64 second load. 21mb. Old Compressed Pickle: 13 second save, 12 second load. 5.8mb New Structured Flatfile: 1.34 second save, 1.42 second load. 6.1mb