Bug 15772

Summary: allocate numbers in half-size cells, for an 0.5% SunSpider speedup
Product: WebKit Reporter: Maciej Stachowiak <mjs>
Component: JavaScriptCoreAssignee: Maciej Stachowiak <mjs>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
patch to do it oliver: review+

Maciej Stachowiak
Reported 2007-10-30 23:00:55 PDT
Numbers are already in a separate heap, and only need half the size of a normal cell. Allocating them in half-size cells should be a perf win overall.
Attachments
patch to do it (15.24 KB, patch)
2007-10-30 23:01 PDT, Maciej Stachowiak
oliver: review+
Maciej Stachowiak
Comment 1 2007-10-30 23:01:49 PDT
Created attachment 16963 [details] patch to do it
Oliver Hunt
Comment 2 2007-10-30 23:15:19 PDT
Comment on attachment 16963 [details] patch to do it r=me, though you may want to replace (type*) styled casts with reinterpret_cast
Note You need to log in before you can comment on or make changes to this bug.