Bug 147341

Summary: ShrinkToFit() all the DFA's vectors when we no longer need to add new nodes to it
Product: WebKit Reporter: Benjamin Poulain <benjamin>
Component: New BugsAssignee: Benjamin Poulain <benjamin>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch ggaren: review+

Benjamin Poulain
Reported 2015-07-27 16:43:20 PDT
ShrinkToFit() all the DFA's vectors when we no longer need to add new nodes to it
Attachments
Patch (2.68 KB, patch)
2015-07-27 16:44 PDT, Benjamin Poulain
ggaren: review+
Benjamin Poulain
Comment 1 2015-07-27 16:44:35 PDT
Geoffrey Garen
Comment 2 2015-07-27 16:47:51 PDT
Comment on attachment 257613 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=257613&action=review r=me > Source/WebCore/contentextensions/DFA.h:44 > + void finalize(); I would call this "shrinkToFit". "Finalize" usually means "I'm not going to use this anymore".
Benjamin Poulain
Comment 3 2015-07-27 17:13:47 PDT
Note You need to log in before you can comment on or make changes to this bug.