-
-
Notifications
You must be signed in to change notification settings - Fork 411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - Shrink size of IndexedProperties
#2757
Conversation
IndexedProperties
Test262 conformance changes
|
Codecov Report
@@ Coverage Diff @@
## main #2757 +/- ##
==========================================
+ Coverage 50.81% 51.06% +0.24%
==========================================
Files 400 396 -4
Lines 40121 39939 -182
==========================================
+ Hits 20387 20394 +7
+ Misses 19734 19545 -189
... and 17 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this should help with performance, cool!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a small nitpick. Good optimization :)
Good optimization |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work!
Probably needs a rebase cause of #2762 |
024d841
to
b5ac5af
Compare
bors r+ |
Most objects don't have indexed properties, and those who have, have dense properties, this PR uses `ThinVec` to reduce the size of dense properties. It changes the following: - Trim `16` bytes from `IndexedProperties`, this reduces all objects size
Pull request successfully merged into main. Build succeeded: |
IndexedProperties
IndexedProperties
Most objects don't have indexed properties, and those who have, have dense properties, this PR uses
ThinVec
to reduce the size of dense properties.It changes the following:
16
bytes fromIndexedProperties
, this reduces all objects size