Question about Stack/heap size?
#1

I have found a function that makes me use #pragma dynamic 3000 (is'nt that much?), anyways i decreased the function's string as much as i could. But is this serious, because the function is getting called once/server start, its under OnGameModeInit and it loads a huge string from a file. So does it matter afterall?
Reply
#2

All #pragma dynamic does is set how much memory can be allocated. It shouldn't matter. It could be optimized though, depends on why a huge string needs to be loaded.
Reply
#3

Quote:
Originally Posted by VincentDunn
Посмотреть сообщение
All #pragma dynamic does is set how much memory can be allocated. It shouldn't matter. It could be optimized though, depends on why a huge string needs to be loaded.
Hmmm. Some people say it's very serious, include ******.

But anyway, its setting variables, from a huge string which is splitted with '|'. I guess i can keep scripting with peace on my mind then?
Reply
#4

If that's what needs to be done then yes, I don't see any other way.
Reply
#5

Quote:
Originally Posted by VincentDunn
Посмотреть сообщение
If that's what needs to be done then yes, I don't see any other way.
But this action doesnt affect on my server, right? Like wouldnt cause corrupt returns and that stuff?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)