[webkit-dev] StringBuilder

Darin Adler darin at apple.com
Mon Jan 28 13:56:06 PST 2008


On Jan 28, 2008, at 1:50 PM, Eric Seidel wrote:

> I was thinking about killing DeprecatedString for real this weekend  
> (we're so close!) but in order to do that, we need a data structure  
> to do fast appends.

I was thinking about adding StringBuilder, but my own effort to do  
that is on hold for now. My first cut used a Vector<UChar> and had a  
release() function that turned the entire thing into a String.

I think you should try doing it all with Vector<UChar> without adding  
a class, figure out what new Vector<UChar> functions you need to add,  
and see if that makes things too ugly or not.

     -- Darin



More information about the webkit-dev mailing list