Closed Bug 574089 Opened 10 years ago Closed 10 years ago
Inner HTML (part 1)
The patch makes us cache encoder and serializer, and also keep a buffer in the encoder to which the string is appended. Removes also few addref/release/qi. I uploaded the patch to tryserver. There are still other things to optimize, like getting attributes from elements in the serializer.
Simple testcase where the patch helps a lot (time drops to half), but more is needed (and possible).
Comment on attachment 453454 [details] [diff] [review] patch Tryserver hasn't given any results, but I'll test this locally.
Still safer version. Clear the member variables in serializer ::Init.
Comment on attachment 453709 [details] [diff] [review] patch Looks good.
Attachment #453709 - Flags: review?(jst) → review+
Oops, no need to clear the serializer always.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.