Page 1 of 1

Loading Source Python Objects

Posted: Mon Aug 21, 2017 2:52 pm
by PhantomDancer
hey,

is there a good way to increase loadspeed of preset functions? i've heard there is sthn like pickle for python based functions. but what about storing entities from source python like "prop_dynamic" entities that dont change? is there any way to load them faster into memory at scriptload?

thanks

Re: Loading Source Python Objects

Posted: Mon Aug 21, 2017 3:21 pm
by Ayuto
I'm not really sure what you mean. Do you want to speed up the instantiation of the Entity class?

Re: Loading Source Python Objects

Posted: Mon Aug 21, 2017 3:30 pm
by PhantomDancer
no, in general. as i said "faster into memory"

Re: Loading Source Python Objects

Posted: Mon Aug 21, 2017 3:33 pm
by PhantomDancer
Loading Source Python Objects "faster into memory"

Re: Loading Source Python Objects

Posted: Mon Aug 21, 2017 4:32 pm
by Ayuto
If you don't feel like helping me to understand your question I don't feel like helping you.

Re: Loading Source Python Objects

Posted: Mon Aug 21, 2017 5:09 pm
by PhantomDancer
no problem. i just wanted to see if someone knows an answer. thanks anyway!