MySQL related question
#4

Quote:
Originally Posted by hellangel
Посмотреть сообщение
Use static at the top of the script or next to the function? People say #pragma dynamic doesn't solve memory problems
You can use static like new, in your function, it is the same as a global variable just that it is limited to your function

Yes #pragma dynamic doesnt solve it, it just raises / lowers the dynamic memory space
Although I never saw any script with lowered the dynamic memory which the server allocates

People say that it doesnt save memory problems because they actually mean that this is a bad scripting habit which could be avoided by more advanced code, like in your situation
Reply


Messages In This Thread
MySQL related question - by hellangel - 26.11.2011, 15:13
AW: MySQL related question - by Nero_3D - 26.11.2011, 15:40
Re: MySQL related question - by hellangel - 26.11.2011, 15:47
AW: Re: MySQL related question - by Nero_3D - 26.11.2011, 15:58
Re: MySQL related question - by hellangel - 26.11.2011, 18:18
AW: Re: MySQL related question - by Nero_3D - 26.11.2011, 19:26
Re: MySQL related question - by CounterTerroristUnit - 26.11.2011, 20:12
AW: MySQL related question - by Nero_3D - 26.11.2011, 21:27
Re : AW: MySQL related question - by hellangel - 01.12.2011, 12:16

Forum Jump:


Users browsing this thread: 2 Guest(s)