Currently, we always append bytes to the SWF buffer when they're loaded instead of forgetting the ones we already parsed. Ideally, instead of resizing the buffer when it becomes to small, we'd first check if moving all unread bytes to the buffer's beginning would mean that enough space would be left at the end again. In a certain game I'm profiling, we're creating a 16MB parsing buffer, where probably something like 512kb or even less would suffice.
Marking as invalid in favor of bug 1035170, which is the much better solution for this.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → INVALID
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.