object streaming
#2

thanks a lot for your fast reply!

well, i can not prove that the code is slow and (if not caused by players slow net or ffps) there is no lag at all on server. But i just wasnt sure about it.
There are many maps on server and they are changing after a time.

Right now i create all maps (objects) in OnGameModeInit dynamically (streamed) and then on map change players are teleported to new location where the other streamed objects have been added.

It came to my mind that maybe i could increase performance if i didnt use the streamer at all and simply always
use CreateObjetc (to create objects non dynamically) (one map has not more than 400 objects so no streamer would be needed) and then before chaging map, simply destroy this objetcs and then after map change use CreateObject again to create other new map.

In that case i had not to use any streaming and if the destroying/creating object code would generate some lag it wouldnt matter anyway as players are freezed due map change.
that was my thought.

But if that really is "micro-optimise", its not worth the work...

thanks a lot!
(Also for your awesome Script optimizing tutorial thread, helped me a lot!)
Reply


Messages In This Thread
object streaming - by PawnoQ - 09.01.2014, 15:33
Re: object streaming - by PawnoQ - 09.01.2014, 15:58

Forum Jump:


Users browsing this thread: 1 Guest(s)