Bug 15772 - allocate numbers in half-size cells, for an 0.5% SunSpider speedup
Summary: allocate numbers in half-size cells, for an 0.5% SunSpider speedup
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Maciej Stachowiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-30 23:00 PDT by Maciej Stachowiak
Modified: 2007-10-30 23:21 PDT (History)
0 users

See Also:


Attachments
patch to do it (15.24 KB, patch)
2007-10-30 23:01 PDT, Maciej Stachowiak
oliver: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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