On Mon, Jul 7, 2014 at 7:51 PM, Cameron Zwarich <zwar...@mozilla.com> wrote:
> Are UTF8-backed (as opposed to Latin1-backed) JS strings with random access 
> going to be a real possibility in SpiderMonkey? It’s obviously possible to 
> make random access work with an appropriate indexing data structure, but 
> popular JS benchmarks are pretty sensitive to string performance.

Jan de Mooij (a.k.a. jandem) is implementing them. My understanding is
that he considered utf8 as well, and concluded that latin1 would be
simpler and give the same performance benefits. But he also said that
if utf8 is needed in the future, the latin1 work should pave the way
substantially.

So I wouldn't count on utf8 soon, but it might happen at some point.

Nick
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to