Skip to content

Increase ArraySlots inline capacity to five - #10312

Open
mhk197 wants to merge 1 commit into
developfrom
mk/array-slots-inline-five
Open

mhk197 wants to merge 1 commit into
developfrom
mk/array-slots-inline-five

Conversation

@mhk197

@mhk197 mhk197 commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

#10004 adds a fifth BitPacked child slot. With ArraySlots' inline capacity of four, even global-width arrays allocate heap storage for their slots when the new child is absent.

Changes

Increase ArraySlots' inline capacity from 4 to 5. This keeps five-slot arrays inline, at the cost of reserving one additional inline slot in every array header.

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

Labels

changelog/skip Do not list PR in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants