Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Counterpoint: tiled maps, which are basically loads and loads of images, can be stored on disk as

- Direcory structure

- Zip file

- Tar file

- Sqlite db

Out of these, sqlite is the most compact, by far (also the fastest)



We just transitioned our tiled images from using a directory structure to SQLite.

Having a single file per very large image (for mobile) makes transferring them to the phone over USB around ten times as fast. I wish I’d done it years ago.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: