StarMade 0.092764: Redesigning core parts for performance

    schema

    Cat God
    Joined
    Feb 17, 2012
    Messages
    1,552
    Reaction score
    2,604
    • Schine
    Hello,

    there isn't much to say about this update, except that it has a lot of performance upgrades.

    One new feature is customizable max speed (in the server.cfg), but please use that with care. Normal computers will run out of memory, if there are 20 sectors per second to load in. An out of memory error will most of the time just be a freeze, so please include your max speed limit in your error reports, if you crash.



    Here is the full changelog:

    - fixed a serious bug in the compression of control structures which caused random crashes and glitches
    - redesigned controllerConnection data structure for better performance
    - redesigned Meta data structure for better performance
    - fixed memory leak and possible source for physics errors/glitches. CompoundAlgorithms in pool kept their child algos and retained their proxies
    - fixed client memory leaks with segmentControllers references not being cleaned up on remove on some objects
    - improved file I/O functions for more performance
    - fixed asteroids vanishing after leaving a sector
    - improved simplex noise function for faster asteroid generation
    - improved occlusion function to work faster (loading in segments)
    - improved some byte setting function to be faster
    - implemented save recovery when segment gets to a faulty state
    - slightly optimized segment provider
    - fixed database shudown not to close while there are still statements in the queue
    - preventing server from getting flooded by write requests and filling up the thread pool
    - max speed can now be customized in the server.cfg (the higher the value, the more possible load on the server)



    thanks for playing StarMade,

    - schema