Files
Bubberstation/code/__DEFINES
SkyratBot 7579176eed [MIRROR] Adds lazyloading to the asset subsystems [MDB IGNORE] (#15960)
* Adds lazyloading to the asset subsystems (#69454)

* Adds lazyloading to the asset subsystems

This currently applies only to spritesheets because of how monumentally
expensive they are.
If an asset is requested it will immediately be fully loaded, but
otherwise we slowly load them in with a separate subsystem.

This allows us to not hold up initialize with hair stuff. Saves roughly
33% (16 seconds with LOW_MEMORY_MODE) of initialize on my machine

My target is something closer to the 9 second init that had back in
2019, this is a good first step. Lets see how much more we can do yeah
lads?

Co-authored-by: san7890 <the@ san7890.com>

* Adds lazyloading to the asset subsystems

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: san7890 <the@ san7890.com>
2022-09-02 19:49:04 -04:00
..
2022-05-09 15:05:42 +01:00
2022-04-17 08:49:49 -07:00
2022-07-18 08:52:51 -07:00
2022-05-05 00:42:14 +01:00
2022-07-29 15:05:42 -04:00
2022-01-19 00:21:07 +00:00
2022-04-06 19:26:58 +01:00
2022-07-18 08:51:39 -07:00
2022-04-19 23:48:56 +01:00
2021-09-19 22:24:40 +01:00
2022-08-26 20:25:52 -04:00
2022-05-08 03:59:40 +01:00

This folder is full of #define statements. They are similar to constants, but must come before any code that references them, and they do not take up memory the way constants do.

The values in this folder are NOT options. They are not for hosts to play with. Some of the values are arbitrary and only need to be different from similar constants; for example, the genetic mutation numbers in genetics.dm mean nothing, but MUST be distinct.

It is wise not to touch them unless you understand what they do, where they're used, and most importantly, how to undo your changes if you screw it up.

  • Sayu