swift icon indicating copy to clipboard operation
swift copied to clipboard

Consider UTF-16 for Strings to improve performance

Open MaxDesiatov opened this issue 3 years ago • 0 comments

JavaScript strings are UTF-8, obviously converting back and forth between UTF-16 and UTF-8 has some overhead. It would be great if an option to use UTF-16 by default existed so that we could measure how big the overhead is.

MaxDesiatov avatar Sep 04 '20 08:09 MaxDesiatov