[Webkit-unassigned] [Bug 24739] New: Combine StringImpl struct and data allocations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 21 03:29:56 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=24739

           Summary: Combine StringImpl struct and data allocations
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mike at belshe.com


Often when we create a StringImpl(), we know what data it is going to contain. 
Currently, this results in two heap allocations - one for the StringImpl class,
and a second for the data.  These can be combined into a single allocation.

I measured small performance increases, but it is hard to be certain that these
are not in the noise.  Nonetheless, it is more efficient.


-- 
Configure bugmail: https://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