Love Zhaoying Posted April 7 Share Posted April 7 I am currently working on a "suite" of large scripts, and for most of these scripts I manage to have an initial amount of free memory of between 20-32K (depending on the script). This amount of initial free memory really should be enough for these scripts, since there is no recursion, no large lists (or ANY lists except as parameters for some calls), no large strings, etc. All possible due to the magic of JSON and LinksetData ("LSD"). The scripts already have major functionality "segregated" to a single script, with as few user-defined functions as possible, etc. My question: Is there any specific reason I should try to get my initial free memory significantly higher than 20-32K? It would probably mean splitting scripts and a significant loss in performance (due to required additional inter-script communication). If so, what may that "goal" be? We can certainly get into a discussion of "best practices", although note that "programming styles" is somewhat off-topic. (Yes, I went there!) Thanks in advance, Love Link to comment Share on other sites More sharing options...
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now