Bug 40800
| Summary: | Find a way to share whitespace in the DOM | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Dave Hyatt <hyatt> |
| Component: | DOM | Assignee: | Dave Hyatt <hyatt> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | CC: | ap, ddkilzer, eric.carlson, jchaffraix, mitz, simon.fraser, tonikitoo |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
Dave Hyatt
This bug is tracking the idea of sharing common whitespace sequences in the DOM to reduce memory use. For example if "\n" occurs in 1000 unique Nodes, it's a waste of memory. We should find some way to avoid really creating Nodes until JS asks for them while still retaining all the whitespace information somewhere in a more compact format.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Anne van Kesteren
At this point we need some fresh profiling to indicate this is what we need to do.