Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: Speed of saving  (Read 3505 times)

0 Members and 1 Guest are viewing this topic.

2.0

  • Regular poster
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 217
    • View Profile
Speed of saving
« on: November 08, 2010, 11:08:57 PM »

Hi there,

Is it possible to improve the saving speed in the WME engine? Now the saving occurs something about few seconds, but maybe is it real to make this action much more faster?

Thanks
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Speed of saving
« Reply #1 on: November 09, 2010, 07:58:34 AM »

  • Get rid of unneeded global variables (such as the StateXXX variables automatically added in every scene_init.script).
  • Uncheck the "Remember nodes states" check-box in SceneEdit for scenes where you don't need this feature.
  • Make sure you're not leaving garbage behind. For example if you're frequently reloading some GUI window, make sure you're deleting the old copy first.
  • If you are keeping some huge structures (large arrays and such) in some variable, make sure to set the variable to null if the data is no longer needed.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.017 seconds with 23 queries.