From 97edfec91491825e44c10d8bb754347b95daa146 Mon Sep 17 00:00:00 2001
From: rdbtCVS <87152661+rdbtCVS@users.noreply.github.com>
Date: Thu, 22 Oct 2026 15:46:39 +0100
Subject: [PATCH 1/3] perf: reuse decoded aquifer neighborhoods during terrain
fill
---
.../src/worldgen/aquifer/noise_based.rs | 106 +++++++++++-------
docs/aquifer-cache-benchmark.md | 56 +++++++++
2 files changed, 124 insertions(+), 38 deletions(-)
create mode 100644 docs/aquifer-cache-benchmark.md
diff --git a/crates/horizon-world/src/worldgen/aquifer/noise_based.rs b/crates/horizon-world/src/worldgen/aquifer/noise_based.rs
index 30181686b..3f3c7dc2c 100644
--- a/crates/horizon-world/src/worldgen/aquifer/noise_based.rs
+++ b/crates/horizon-world/src/worldgen/aquifer/noise_based.rs
@@ -120,6 +120,7 @@ pub struct NoiseBasedAquifer
{
statuses: Vec