I can tell you right now that if you want it to be really optimized your best bet is to avoid strings at all costs. I've had cases where using only integers instead of strings has sped up code by a factor of over 300%.
This includes things like scriptobjects, simsets, etc etc.