Bug 251340
| Summary: | Save some memory by not putting serialized valueID strings into a hash map | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Darin Adler <darin> |
| Component: | CSS | Assignee: | Darin Adler <darin> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Darin Adler
CSSPrimitiveValue saves strings of serialized values in a map to avoid recomputing them. This is wasteful for the serialized form of CSSValueID, since they are all precomputed at compile time. Putting them in the hash table is a waste of memory.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/104803128>
Darin Adler
Pull request: https://github.com/WebKit/WebKit/pull/9301
EWS
Committed 259562@main (29c1dd855828): <https://commits.webkit.org/259562@main>
Reviewed commits have been landed. Closing PR #9301 and removing active labels.