Skip to content

Reuse variant consumer in BlockStateModelRenderer - #881

Merged
TBlueF merged 1 commit into
BlueMap-Minecraft:masterfrom
Hexay:perf/reuse-variant-consumer
Oct 7, 2026
Merged

TBlueF merged 1 commit into
BlueMap-Minecraft:masterfrom
Hexay:perf/reuse-variant-consumer

Conversation

@Hexay

@Hexay Hexay commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Renderers are thread-confined so one consumer per renderer
render-thread allocation 2.1 -> 1.3 GiB

@TBlueF TBlueF left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And i thought the compiler would auto-optimize this. Great find, thanks!

@TBlueF
TBlueF merged commit de72057 into BlueMap-Minecraft:master Oct 7, 2026
7 checks passed
@Hexay
Hexay deleted the perf/reuse-variant-consumer branch October 7, 2026 14:42
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