Closed Bug 1031925 Opened 10 years ago Closed 10 years ago

Parse shapes lazily

Categories

(Firefox Graveyard :: Shumway, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1035170

People

(Reporter: till, Assigned: tschneider)

References

Details

(Whiteboard: [parser][memory usage][performance])

We're currently parsing all shapes eagerly as soon as we have loaded them. We could instead just send the unparsed bytes to the main thread and parse them once they're first needed for script execution or rendering. While this would move some processing to the main thread, it would save lots of memory in the general case and would improve startup speed because we wouldn't have to wait until all shapes have been parsed until we can show anything. @tobytailor, what do you think?
Blocks: 1035170
Assignee: nobody → schneider
Status: NEW → ASSIGNED
No longer blocks: shumway-m4
I made all parsing lazy in bug 1035170.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.