| Blockland Forums > Modification Help |
| Arrays |
| << < (2/2) |
| otto-san:
of course since they're just variable names that saves a ton of memory doesnt it |
| DrenDran:
--- Quote from: M on November 26, 2011, 04:39:17 AM ---the object will still exist until explicitly deleted --- End quote --- That's why you make a garbage collect function. Gratned by the time you've added a system to index and keep track off all your array values, you've practically made an entire element of a programming language, inside a programming language. |
| Destiny/Zack0Wack0:
--- Quote from: otto-san on November 27, 2011, 08:31:13 PM ---of course since they're just variable names that saves a ton of memory doesnt it --- End quote --- Not really (well, I guess like one extra pointer, but that's not that much of a big deal). |
| M:
--- Quote from: DrenDran on November 27, 2011, 10:06:18 PM ---That's why you make a garbage collect function. Gratned by the time you've added a system to index and keep track off all your array values, you've practically made an entire element of a programming language, inside a programming language. --- End quote --- And how would you check to see if there's no references left for the array? Have fun literally parsing and interpreting all the script using string manipulation to detect that accurately. Just delete it yourself. |
| Navigation |
| Message Index |
| Previous page |