Loading Source Python Objects

Please post any questions about developing your plugin here. Please use the search function before posting!
User avatar
PhantomDancer
Member
Posts: 42
Joined: Wed Mar 15, 2017 10:39 am
Location: The Great Arctic Hemispheres

Loading Source Python Objects

Postby PhantomDancer » Mon Aug 21, 2017 2:52 pm

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
User avatar
Ayuto
Project Leader
Posts: 2193
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: Loading Source Python Objects

Postby Ayuto » Mon Aug 21, 2017 3:21 pm

I'm not really sure what you mean. Do you want to speed up the instantiation of the Entity class?
User avatar
PhantomDancer
Member
Posts: 42
Joined: Wed Mar 15, 2017 10:39 am
Location: The Great Arctic Hemispheres

Re: Loading Source Python Objects

Postby PhantomDancer » Mon Aug 21, 2017 3:30 pm

no, in general. as i said "faster into memory"
User avatar
PhantomDancer
Member
Posts: 42
Joined: Wed Mar 15, 2017 10:39 am
Location: The Great Arctic Hemispheres

Re: Loading Source Python Objects

Postby PhantomDancer » Mon Aug 21, 2017 3:33 pm

Loading Source Python Objects "faster into memory"
User avatar
Ayuto
Project Leader
Posts: 2193
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: Loading Source Python Objects

Postby Ayuto » Mon Aug 21, 2017 4:32 pm

If you don't feel like helping me to understand your question I don't feel like helping you.
User avatar
PhantomDancer
Member
Posts: 42
Joined: Wed Mar 15, 2017 10:39 am
Location: The Great Arctic Hemispheres

Re: Loading Source Python Objects

Postby PhantomDancer » Mon Aug 21, 2017 5:09 pm

no problem. i just wanted to see if someone knows an answer. thanks anyway!

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 32 guests