Using UTF-16 to handle encoding between String and NSString.
yulingtianxia opened this issue · comments
杨萧玉 commented
Someone said that UTF-16 encoding is faster for Dart.
杨萧玉 commented
Benchmark (ms, run 10000 times):
String <-> utf8 <-> NSString: 650-700
String <-> utf16 <-> NSString: 417-508