mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-20 07:24:16 +00:00
A pregeneration now generates in multicore mode: the matter stage runs on the calling thread so its mantle window fans out across the burst pool while biome and terrain run alongside, components are claimed through the in-flight map so overlapping windows join instead of blocking, and each region's chunks are ordered in stride-4 lattices so consecutive chunks never share a window. Hydrology tiles for the whole area are planned ahead nearest the centre first on a dedicated planning pool, and the ring around every needed tile stays planned as the front moves. Height bounds at grid corners are shared between threads and from planning into generation, the sole engine of a pack is answered from a snapshot instead of the registry lock, composed chunk keys are mixed, cached tiles are answered in place, the burst pool grows to two workers per core for the run, and large chunk-worker pools admit up to 256 requests.