Skip to content

Allocate BedrockPacketWrapper#flags lazily - #342

Merged
PetteriM1 merged 1 commit into
CloudburstMC:3.0from
electronicboy:alloc/bedrockpacketwrapper
Jul 21, 2026
Merged

Allocate BedrockPacketWrapper#flags lazily#342
PetteriM1 merged 1 commit into
CloudburstMC:3.0from
electronicboy:alloc/bedrockpacketwrapper

Conversation

@electronicboy

Copy link
Copy Markdown
Contributor

On profiling I noticed that if you bust the limit of the recycler,
the allocation of this collection becomes a noticable allocation
pressure point on pool misses when constructing this packet

On profiling I noticed that if you bust the limit of the recycler,
the allocation of this collection becomes a noticable allocation
pressure point on pool misses when constructing this packet
@PetteriM1
PetteriM1 merged commit 93a4c13 into CloudburstMC:3.0 Jul 21, 2026
1 check passed
@electronicboy
electronicboy deleted the alloc/bedrockpacketwrapper branch July 29, 2026 22:53
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