You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Hi,

    At the moment all the info I have is in the Performance page.

    I think to sum it up:

    • Put comments in the 'root scope', outside the functions (that way they get thrown away on load)
    • Use Uint8Array/etc for storing arrays of values wherever possible
    • Try and keep variable/function names less than 8 chars (as in some cases it might cause another var to be used)

    You can always look at the result of trace() to get an idea of where your memory is going.

    Can't think of much else right now... But if you post up your code then I might notice some way you could save space?


Avatar for Gordon @Gordon started