Commit Graph

3 Commits

Author SHA1 Message Date
Léo Lam dd0cc52ce9 ksys: Move ActorParam classes into separate folder to declutter Resource/ 2021-06-15 18:04:39 +02:00
Léo Lam 117e6891b0 Reduce code size by avoiding static inline member variables
Static inline member variables require the compiler to emit a static
runtime constructor in all translation units that can see the variables
in question. This normally wouldn't be a problem, but it gets expensive
really quickly when you have ~3000 classes and ~3000 duplicate
static constructors.

This drops the ELF size from ~270MB to ~220MB and probably speeds up
builds a little bit.
2021-01-01 19:10:46 +01:00
Léo Lam b1470e45fa ksys/act: Add Queries 2020-12-21 16:53:44 +01:00