I'm curious as to see which is more optimized. An Array of Chars or a String.
would:
And using it like:
Would that be more Optimized than:
would:
type TString Field Chars[]:Char field NumChars:int method Print() local LoopVar:int for LoopVar = 0 to NumChars print Chars[LoopVar] next end type
And using it like:
Hello:TString = new TString Hello.NumChars = 4 Hello.Chars:Char = new Char[Hello.NumChars] Hello.Print()
Would that be more Optimized than:
Hello:String = "Hello"