It would be much more efficient to allow their initialization to be delayed until their first call. Meaning that the __New() meta function of some Object() is not run until one of their methods is called. This is useful as sometimes these objects aren't even used in later code, as they are all initialized in the beginning!
Some sort of new syntax would be involved:
Code: Select all
a := newDeferred Object()