c2me-fabric-mc1.20.1-0.2.0+alpha.11.20.26.9.jar
Curse Maven Snippet
What's new
C2ME Changelog
Performance Improvements targetting Au Naturel's Survival Use Case: This could mean slightly lower total throughput under default conditions to obtain greater apparent responsiveness and prioritisation of close chunks in survival.
Chunk Loading Priority System
- Reordered I/O operations to prioritize reads over writes, preventing autosave from blocking chunk loading
- Batch processing of write backlog (up to 8 per cycle) during quiet periods
- Added reserved loading slots for close chunks to prevent the "hole" effect where distant chunks load before nearby ones
- New config options:
closeChunkDistanceThreshold(default: 8) andreservedCloseChunkSlots(default: 25% of max slots)
DynamicPriorityQueue Optimization
- Replaced O(n) linear scan with O(1) BitSet lookup for finding non-empty priority buckets
Minor CPU Efficiency Optimizations
- Single-lookup optimization in C2MEStorageThread cache reads
- Direct array allocation in ChunkStatusUtils (avoids intermediate list)
- Single-lookup pattern in DynamicPriorityQueue using defaultReturnValue
- Stream-to-loop conversion in chunk serialization paths
Bug Fixes
- Fixed reserved slots scaling for low-core systems under the new chunk prioritisation scheme
- Reserved slots now cap at 50% of total to guarantee distant chunks always get slots (i.e. for the likes of distant horizon distant generation).
This mod has no additional files

