import tango.text.String; import tango.io.Console; import tango.util.time.StopWatch; import tango.text.convert.Float; void main() { //1 auto s = new String!(char)("test"); auto s1 = new String!(dchar)("test1"); //2 //s = "test2"c; //3 //s = s1; //4 //char[] d = s; //5 //s~=s1; StopWatch timer; timer.start(); for(int i; i<1_000_000;i++) { auto s2 = new String!(char)("test3"c); } float f = timer.stop(); Cout(f)(); }