Skip to content

Conversation

@byroot
Copy link
Member

@byroot byroot commented Nov 11, 2024

Reduce its size from 224 to 216B.

Reduce its size from 224 to 216B.
@byroot byroot merged commit b3bcc6b into master Nov 11, 2024
17 checks passed
@byroot byroot deleted the reoder-packer branch November 11, 2024 18:45
Comment on lines +39 to 44
bool compatibility_mode;
bool has_bigint_ext_type;
bool has_symbol_ext_type;

/* options */
bool comaptibility_mode;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Btw, if you use a bitfield, you can even turn this from 16B down to 8B

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm never too sure how bitfields impact performance. Probably negligible, but I only made this change because it was an obvious small waste.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants