I am thinking of building an array based raycaster and I created this gigantic map by having a sprite scan it and put it in the list. The problem is, I set it to save about 37 minutes ago and it's still saving. All in all, there are about 86,400 numbers in the list where there's 360 items all 240 numbers long. How much Kb/Mb/Gb, does it take up? In how long should I expect it to finish saving?
Last edited by TorbyFork234 (2012-04-16 22:09:23)
Offline
trinary wrote:
About 3.3 MB.
I'm assuming that each list item is two or three characters.
Each list item was 240 characters long, I shortened it to 171 with 142 items and was able to save it. It is 71,790 bytes large, with 24282 characters in the list. So doing the math, each character takes up about 2.95651 bytes.
Offline
I've never saved a list, but does it put each item on a new line? If so, then you'll also need to account for line breaks.
Offline
veggieman001 wrote:
I've never saved a list, but does it put each item on a new line? If so, then you'll also need to account for line breaks.
I didn't save the list. I saved the list in the scratch project.
Offline
TorbyFork234 wrote:
veggieman001 wrote:
I've never saved a list, but does it put each item on a new line? If so, then you'll also need to account for line breaks.
I didn't save the list. I saved the list in the scratch project.
Oh. Hm.
Offline
Oops! I had my map sprite still in there! After I deleted my map sprite, there was 27,337 bytes in the project with 24282 characters in the list so every character is about 1 and an eight of a byte.
Offline