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

2014-04-02 Thread Robert O'Callahan
On Wed, Apr 2, 2014 at 10:45 AM, Luke Wagner wrote: > Nick just brought up the topic of adding a second compact string > representation to the JS engine (motivated by string memory use). One > question was whether to use ASCII (which V8 does, iirc) or UTF8. Several > DOM people have pointed out

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

2014-04-02 Thread Luke Wagner
Nick just brought up the topic of adding a second compact string representation to the JS engine (motivated by string memory use). One question was whether to use ASCII (which V8 does, iirc) or UTF8. Several DOM people have pointed out over the years that if SM would accept UTF8 it'd be really

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

2014-04-02 Thread Robert O'Callahan
On Tue, Apr 1, 2014 at 3:18 PM, Boris Zbarsky wrote: > On 4/1/14 3:07 PM, Keegan McAllister wrote: > >> Who should I talk to about JS string representation changes? >> > > Eddy Bruel. ejpbruel at mozilla dot com. If we could get the JS engine to use evil-UTF8 with some hack to handle charAt an