Re: [dev-servo] meeting notes (UTF8)

2014-07-08 Thread Luke Wagner
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.

Re: [dev-servo] character encoding in the HTML parser

2014-04-03 Thread Luke Wagner
Another option we've just been discussing is to lazily compute a flag on the string indicating contents are 7-bit ascii that allowed us to use array indexing. I'd expect this to often be true. There are also many cases where we'd eagerly have this flag (atoms produced during parsing, strings