Re: [dev-servo] Minutes of the discussion regarding strings

2013-06-08 Thread Boris Zbarsky
On 6/8/13 9:19 PM, Boris Zbarsky wrote: There are, of course, some drawbacks. One more drawback, actually: in the model I described the immutable string assumes a flat buffer. So if you have a rope-based mutable thing, passing it somewhere means you have to flatten first. In practice, for

Re: [dev-servo] Minutes of the discussion regarding strings

2013-06-08 Thread Boris Zbarsky
On 6/7/13 9:43 AM, Benjamin Smedberg wrote: On 6/5/2013 8:42 PM, Patrick Walton wrote: * Gecko has mutable strings and this is bad for performance I'd like to understand/challenge this statement. Is this bad for performance because you have to check the extra SHARED flag on write? So I tho