One new string[] for all script.
#10

Quote:
Originally Posted by ******
Посмотреть сообщение
No, that won't help. You really shouldn't need that much stack space. The issue isn't really having large variables, but huge numbers of them. People who get this message frequently do things like declare five local strings when one would do. If a function has more than one local array then question it and refactor so it doesn't (not always possible of course, but frequently is). Global strings produce subtle issues.
And what if i really need to have big arrays in my script?
Arrays such as those that are going to be used for MySQL queries are requiring more than 500 cells. Is there any way to decrease the memory used without shorten the content of the strings?
Reply


Messages In This Thread
One new string[] for all script. - by mike_1 - 29.12.2014, 13:18
Re: One new string[] for all script. - by MrCallum - 29.12.2014, 13:22
Re: One new string[] for all script. - by BroZeus - 29.12.2014, 13:26
Re: One new string[] for all script. - by Pottus - 29.12.2014, 13:31
Re: One new string[] for all script. - by mike_1 - 29.12.2014, 13:32
Re: One new string[] for all script. - by BroZeus - 29.12.2014, 13:38
Re: One new string[] for all script. - by mike_1 - 29.12.2014, 13:43
Re: One new string[] for all script. - by BroZeus - 29.12.2014, 13:47
Re: One new string[] for all script. - by mike_1 - 29.12.2014, 13:52
Re: One new string[] for all script. - by mike_1 - 29.12.2014, 14:53

Forum Jump:


Users browsing this thread: 1 Guest(s)