Skip to content

core: reduce memory overhead of SortedTagMap#1879

Merged
brharrington merged 2 commits intoNetflix:mainfrom
brharrington:sortedtagmap
Feb 27, 2026
Merged

core: reduce memory overhead of SortedTagMap#1879
brharrington merged 2 commits intoNetflix:mainfrom
brharrington:sortedtagmap

Conversation

@brharrington
Copy link
Copy Markdown
Contributor

Always keeps the map compact to ensure there aren't empty spaces in the array. This also allows us to remove the length so with compact object headers it should be 16 bytes instead of 24 bytes overhead per map.

Always keeps the map compact to ensure there aren't empty
spaces in the array. This also allows us to remove the
length so with compact object headers it should be 16 bytes
instead of 24 bytes overhead per map.
@brharrington brharrington added this to the 1.9.0 milestone Feb 27, 2026
@brharrington brharrington merged commit 7234c97 into Netflix:main Feb 27, 2026
5 checks passed
@brharrington brharrington deleted the sortedtagmap branch February 27, 2026 20:30
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