Skip to content

Conversation

@louis-e
Copy link
Owner

@louis-e louis-e commented Jan 11, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 11, 2026 13:20
@github-actions
Copy link

⏱️ Benchmark run finished in 0m 33s
🧠 Peak memory usage: 956 MB

📈 Compared against baseline: 30s
🧮 Delta: 3s
🔢 Commit: 9d91e47

🟢 Generation time is unchanged.

📅 Last benchmark: 2026-01-11 13:21:59 UTC

You can retrigger the benchmark by commenting retrigger-benchmark.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR attempts to revert from sequential streaming (memory-efficient) world saving back to parallel processing using rayon to improve generation speed. The changes remove the memory-efficient streaming approach that processed regions one at a time and replace it with concurrent region saving.

Changes:

  • Added rayon for parallel iteration and AtomicU64 for thread-safe progress tracking
  • Replaced sequential region processing with par_iter() for concurrent saving
  • Removed memory-efficient streaming that freed regions after saving

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@louis-e louis-e merged commit 6cdebbe into main Jan 11, 2026
9 checks passed
@louis-e louis-e deleted the revert-sequential-streaming branch January 11, 2026 13:36
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