Dimmin Array
Blitz3D Forums/Blitz3D Beginners Area/Dimmin Array
| ||
If you were to: Dim room(1000000000);yes...alot Does it take up valuable memory space if you do not add any fields to it, etc? |
| ||
i would imagine that Blitz would give each slot in the array allocated memory, so you won't run out half way thru putting data into it. not too sure tho :S |
| ||
I shouldn't of thought so, due to having the memory allocations to the remaining stored variables as 0? |
| ||
well if you dim an array and ask blitz to pull out a number from it without putting values into the array then it gives you 0, so i figure there must be something stored. tho i could be wrong, i'm no expert on the subject :) |
| ||
Yeah, Dim Room(1000000000) will take up alot of memory. I ran the code with dim room(100) and put on task manager, then done dim room(100000000) it took up like 85 Mb :S |