Skip to content

Conversation

@copybara-service
Copy link

Refactor how inline string fields are tracked for donation.

Instead of a separate HasBits object with one bit per field we track donation in one arbitrary bit in the capacity.
When the string IsLong that bit in the capacity determines if it is donated.

We also remove all the plumbing for these donation bits, on demand arena destructor, etc.

@copybara-service copybara-service bot force-pushed the test_770243667 branch 4 times, most recently from 8a147ee to ca7c802 Compare November 25, 2025 22:27
Instead of a separate HasBits object with one bit per field we track donation in one arbitrary bit in the capacity.
When the string IsLong that bit in the capacity determines if it is donated.

We also remove all the plumbing for these donation bits, on demand arena destructor, etc.

PiperOrigin-RevId: 770243667
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.

1 participant