| Summary: | [Content Extensions] Use less memory for CombinedURLFilters | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Alex Christensen <achristensen> | ||||||||||
| Component: | WebCore Misc. | Assignee: | Alex Christensen <achristensen> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | benjamin, cmarcelo, commit-queue | ||||||||||
| Priority: | P2 | ||||||||||||
| Version: | 528+ (Nightly build) | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Alex Christensen
2015-04-27 16:06:04 PDT
Created attachment 251783 [details]
Patch
Created attachment 251784 [details]
Patch
Created attachment 251785 [details]
Patch
This actually increases the memory usage. Strange... Created attachment 251871 [details]
Patch
Comment on attachment 251871 [details]
Patch
This seems pretty sensible. r=me
I'm pretty sure we could drop the default 16 down to 8 or 4 too, but that would require a bit of testing.
By the way, this reduces the memory usage of combinedURLFilters in ContentExtensionCompiler.cpp by a factor of 3. Comment on attachment 251871 [details] Patch Clearing flags on attachment: 251871 Committed r183499: <http://trac.webkit.org/changeset/183499> All reviewed patches have been landed. Closing bug. |