Skip to content

multiple micro optimisation#237

Open
coco875 wants to merge 19 commits into
Steel-Foundation:masterfrom
coco875:try-opti
Open

multiple micro optimisation#237
coco875 wants to merge 19 commits into
Steel-Foundation:masterfrom
coco875:try-opti

Conversation

@coco875

@coco875 coco875 commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

with my pc (i7 14700kf) with PREGEN_SIZE=301 cargo run --release (NOT NATIVE)
before: 1586.1, 1486.3, 1555.2

after: 1637.5, 1696.8, 1628.8

@coco875

coco875 commented Jun 28, 2026

Copy link
Copy Markdown
Contributor Author

@GreenedDev

Copy link
Copy Markdown
Contributor

a whopping 8 cps increase for me.
380 -> 388

@coco875

coco875 commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

(at first read I was thinking you mention an increase in time but no the invert x))

coco875 and others added 15 commits June 29, 2026 13:24
This reverts commit 8fef7e6.
This reverts commit 574dff4.
* Precompute jigsaw rotations and priority layout at build time.

Moves runtime transform/shuffle work into generated TemplateData while
keeping vanilla shuffle plus priority ordering for structure_starts parity.

* add optimisation again

* some adjustement

* remove useless jigsaw prep

* revert also sort

* Revert "revert also sort"

This reverts commit 5a48be4.

* add order_jigsaw_indices_by_priorities and fmt

* small cleanup
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.

3 participants