[Webkit-unassigned] [Bug 16187] New: MatchStack should allocate frames in chunks and only free them in ~MatchStack

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 29 04:17:49 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16187

           Summary: MatchStack should allocate frames in chunks and only
                    free them in ~MatchStack
           Product: WebKit
           Version: 523.x (Safari 3)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at webkit.org
OtherBugsDependingO 16186
             nThis:


MatchStack should allocate frames in chunks and only free them in ~MatchStack

Currently MatchStack will allocate a new frame each time you recurse once
you've gone past FRAMES_ON_STACK frames.

Instead, MatchStack should allocate frames in chunks (to avoid individual
mallocs) and hold onto those chunks until ~MatchStack() is called.

This would be a win for any regexp which uses more than FRAMES_ON_STACK frames
in more than one place in the regexp.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list