Bug 147341 - ShrinkToFit() all the DFA's vectors when we no longer need to add new nodes to it
Summary: ShrinkToFit() all the DFA's vectors when we no longer need to add new nodes t...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Benjamin Poulain
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-27 16:43 PDT by Benjamin Poulain
Modified: 2015-07-27 17:13 PDT (History)
0 users

See Also:


Attachments
Patch (2.68 KB, patch)
2015-07-27 16:44 PDT, Benjamin Poulain
ggaren: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Poulain 2015-07-27 16:43:20 PDT
ShrinkToFit() all the DFA's vectors when we no longer need to add new nodes to it
Comment 1 Benjamin Poulain 2015-07-27 16:44:35 PDT
Created attachment 257613 [details]
Patch
Comment 2 Geoffrey Garen 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".
Comment 3 Benjamin Poulain 2015-07-27 17:13:47 PDT
Committed r187467: <http://trac.webkit.org/changeset/187467>