Skip to content

Use bit fields for small fields in ClassDeclaration - #23508

Merged
thewilsonator merged 1 commit into
dlang:masterfrom
tim-dlang:bitfields_ClassDeclaration
Aug 1, 2026
Merged

Use bit fields for small fields in ClassDeclaration#23508
thewilsonator merged 1 commit into
dlang:masterfrom
tim-dlang:bitfields_ClassDeclaration

Conversation

@tim-dlang

Copy link
Copy Markdown
Contributor

This saves 8 bytes for ClassDeclaration on 64-bit platforms.

It was suggested here: #23459 (comment)

This saves 8 bytes for ClassDeclaration on 64-bit platforms.

It was suggested here: dlang#23459 (comment)
@tim-dlang
tim-dlang requested a review from ibuclaw as a code owner August 1, 2026 10:55
@thewilsonator
thewilsonator merged commit 1af3c97 into dlang:master Aug 1, 2026
42 checks passed
@thewilsonator

Copy link
Copy Markdown
Contributor

Thanks!

@tim-dlang
tim-dlang deleted the bitfields_ClassDeclaration branch August 1, 2026 13:16
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.

2 participants