Traffy.UnityPython icon indicating copy to clipboard operation
Traffy.UnityPython copied to clipboard

future performance speedup

Open thautwarm opened this issue 3 years ago • 2 comments

ref: https://www.jacksondunstan.com/articles/3916

  • avoid static constructors
  • avoid object intializer notation

thautwarm avatar Apr 03 '22 16:04 thautwarm

P.S: removing static fields that are used as mutable collections can simplify the implementation of hot reloading.

thautwarm avatar Apr 03 '22 17:04 thautwarm

and hot reloading is the key reason for why UnityPython is superior than the existing approaches to cross-platform development.

thautwarm avatar Apr 03 '22 17:04 thautwarm