Re:Slimmer and faster JavaScript strings in Firefox
by tracker1 on Tuesday July 22, 2014 @04:51AM
(#8067916)
Why wouldn't UTF-8 offer the same O(1) indexing? I still think they should fix regex/charCodeAt etc to support the newer characters above 0xFFFF as demonstrated, it would see dramatic memory improvements and remove the need for hacks to detect surrogate pairs.
[ Parent
| on HN ]
There are no comments on this comment yet.