Skip to content

Port C2ME DensityFunction compiler - #879

Open
HaHaWTH wants to merge 2 commits into
ver/26.2from
feat/c2me-dfc
Open

Port C2ME DensityFunction compiler#879
HaHaWTH wants to merge 2 commits into
ver/26.2from
feat/c2me-dfc

Conversation

@HaHaWTH

@HaHaWTH HaHaWTH commented Aug 15, 2026

Copy link
Copy Markdown
Member

From: https://github.com/RelativityMC/C2ME-fabric

Target commit revision: 8138acfb32daf5d1b264780b6436eb8ff958c1b9

The compiler translates vanilla and datapack density function graphs into JVM bytecode. Which improves worldgen speed significantly.

Tests:

Environment: Windows 11 25H2, Amazon Corretto 25, Intel Core Ultra 9 275HX
JVM flag: Aikar flags + Xmx6G

Chunky command: chunky start world square 0 0 3000

w/ DFC enabled: Task finished for world. Processed: 142129 chunks (100.00%), Total time: 0:04:08
w/o DFC: [Chunky] Task finished for world. Processed: 142129 chunks (100.00%), Total time: 0:05:05

@HaHaWTH
HaHaWTH requested a review from Dreeam-qwq August 15, 2026 20:00
@Dreeam-qwq Dreeam-qwq added the type: optimization Pull request for optimization label Aug 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: optimization Pull request for optimization

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants