!7 static final long rep = 10000000; p { // check sanity byte[] data = toUtf8("hallö"); assertEquals(fastu_fromUtf8(data), fromUtf8(data)); repeat 100 { time { repeat rep { fromUtf8(data); } } print(iterationsPerSecond(rep) + " fromUtf8's/s"); time { repeat rep { fastu_fromUtf8(data); } } print(iterationsPerSecond(rep) + " fastu_fromUtf8's/s"); } }