Changes between Initial Version and Version 4 of Ticket #5979


Ignore:
Timestamp:
Mar 12, 2021, 2:34:07 PM (3 years ago)
Author:
Freagarach
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5979

    • Property PatchPhab:D3468
    • Property Summary Don't initialise null values in components.Don't initialise null/boolean values in components.
  • Ticket #5979 – Description

    initial v4  
    44
    55There are more such examples of which some can have more effect on performance. It would be good to not initialise such values, but create them when needed and delete them when not needed anymore. This saves time on init and serialisation data during a game. (Refs. #3834.)
     6
     7Also booleans are a good example of variables that need not to be initialised.