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+

Description Maciej Stachowiak 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.
Comment 1 Maciej Stachowiak 2007-10-30 23:01:49 PDT
Created attachment 16963 [details]
patch to do it
Comment 2 Oliver Hunt 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