>CLEAR > >tt = SECONDS() >xString = REPLICATE("a",100000) >? "direct fill",SECONDS()-tt > >xString = "" >tt = SECONDS() >FOR i=1 TO 100000 > xString = m.xString +"a" >NEXT >? "compiler see string = string + ...., then enlarge the heap",SECONDS()-tt > >xString = "" >tt = SECONDS() >FOR i=1 TO 100000 > xString = "" + m.xString +"a" >NEXT >? "compiler copy the string",SECONDS()-tt > > >xString = "" >tt = SECONDS() >FOR i=1 TO 100000 > STORE m.xString +"a" TO xString >NEXT >? "compiler use a intermediate ?? optimization ",SECONDS()-tt >>