Summary: | RenderStyle default constructor should initialize its members for speed | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Darin Adler <darin> | ||||||
Component: | CSS | Assignee: | Darin Adler <darin> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Enhancement | CC: | hyatt, mjs | ||||||
Priority: | P2 | ||||||||
Version: | 420+ | ||||||||
Hardware: | Mac | ||||||||
OS: | OS X 10.4 | ||||||||
Attachments: |
|
Description
Darin Adler
2005-12-20 09:24:32 PST
Created attachment 5215 [details]
both performance improvements described in the bug text
Created attachment 5216 [details]
both performance improvements described in the bug text
Comment on attachment 5215 [details]
both performance improvements described in the bug text
Another great looking patch. I assume this is a performance win? r=me.
Comment on attachment 5215 [details]
both performance improvements described in the bug text
oops, wrong one.
Comment on attachment 5216 [details]
both performance improvements described in the bug text
r=me.
It looks like
void RenderStyle::cleanup()
could just be killed entirely now.
I left the cleanup function in there because Maciej has the commented-out counts in it. I would have removed it entirely if that wasn't there. |