News for hackers. Stuff that matters.
Re:JavaScript string encoding by dom0 on Tuesday September 05, 2017 @10:53AM (#15175782)
> * Newer languages expose strings as an array of Unicode code points, which is cleaner because it's independent of any particular encoding.

Don't do that (the array part). Guaranteeing O(1) indexing isn't very useful but precludes efficient storage.

There are no comments on this comment yet.