Bug 239451
| Summary: | [JSC] PropertyTable should have compact mode | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Yusuke Suzuki <ysuzuki> |
| Component: | JavaScriptCore | Assignee: | 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
...
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Yusuke Suzuki
I would try it when I have some time.
Yusuke Suzuki
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
OK, created a patch, now testing.
Yusuke Suzuki
Pull request: https://github.com/WebKit/WebKit/pull/312
Yusuke Suzuki
Landed https://commits.webkit.org/249881@main (r293210)!
Radar WebKit Bug Importer
<rdar://problem/92144394>