swift
swift copied to clipboard
Consider UTF-16 for Strings to improve performance
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.