Bug 239451

Summary: [JSC] PropertyTable should have compact mode
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: JavaScriptCoreAssignee: Yusuke Suzuki <ysuzuki>
Status: RESOLVED FIXED    
Severity: Normal CC: mark.lam, saam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Yusuke Suzuki
Reported 2022-04-17 21:30:53 PDT
...
Attachments
Yusuke Suzuki
Comment 1 2022-04-17 21:31:10 PDT
I would try it when I have some time.
Yusuke Suzuki
Comment 2 2022-04-18 00:35:18 PDT
Idea is that, by using uint8_t index & uint8_t property-offset, we can make PropertyTable allocation compact. This is assuming that many of objects are not allocating 256 entries.
Yusuke Suzuki
Comment 3 2022-04-18 05:36:54 PDT
OK, created a patch, now testing.
Yusuke Suzuki
Comment 4 2022-04-18 20:37:38 PDT
Yusuke Suzuki
Comment 5 2022-04-21 22:42:20 PDT
Radar WebKit Bug Importer
Comment 6 2022-04-21 22:43:14 PDT
Note You need to log in before you can comment on or make changes to this bug.