Bug 20120
Summary: | Slow valueAsString() implementations | ||
---|---|---|---|
Product: | WebKit | Reporter: | Nikolas Zimmermann <zimmermann> |
Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | ||
Priority: | P3 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | OS X 10.5 |
Nikolas Zimmermann
Various classes (SVGPointList, SVGTransformList, etc..) use dump methods for "toString" conversion, they use operator+= on a String, instead of choosing the right string size from the beginning (Vector<UChar, ..> & friends). Needs fixing.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Eric Seidel (no email)
I think unless we have a test case to demonstrate that this is slow we don't need a bug.