Bug 67082
| Summary: | Need more mutation operations for StringBuilder | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Xianzhu Wang <wangxianzhu> |
| Component: | Web Template Framework | Assignee: | Nobody <webkit-unassigned> |
| Status: | UNCONFIRMED | ||
| Severity: | Normal | CC: | ap, darin, sullivan |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 66661 | ||
Xianzhu Wang
To match the functionalities of Vector<UChar>, we need add more mutation operations for StringBuilder:
- mutable [] operator
- non-const characters()
- remove
- prepend
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Darin Adler
I’m not sure we should add all of these. In particular, we don’t want to add operations that can’t be implemented efficiently. We might instead want to change the Vector<UChar> call sites.