Bug 67082 - Need more mutation operations for StringBuilder
Summary: Need more mutation operations for StringBuilder
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 66661
  Show dependency treegraph
 
Reported: 2011-08-26 20:57 PDT by Xianzhu Wang
Modified: 2011-08-27 12:18 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xianzhu Wang 2011-08-26 20:57:17 PDT
To match the functionalities of Vector<UChar>, we need add more mutation operations for StringBuilder:
- mutable [] operator
- non-const characters()
- remove
- prepend
Comment 1 Darin Adler 2011-08-27 12:18:35 PDT
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.