Open
Bug 1488142
Opened 6 years ago
Updated 2 years ago
Rename SetCapacity() to SetCapacityForMultipleAppends() or something more self-explanatory
Categories
(Core :: XPCOM, enhancement)
Core
XPCOM
Tracking
()
NEW
People
(Reporter: hsivonen, Unassigned)
References
Details
(See bug 1487612 comment 1.)
SetCapacity() is a footgun, because our buffer sharing features undo its effects. Misuse could probably be reduced if the name of the method was clearer about its purpose. E.g. SetCapacityForMultipleAppends().
Assignee | ||
Updated•4 years ago
|
Component: String → XPCOM
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•