dmzca_perf_fix-1.0.0.jar
Curse Maven Snippet
What's new
v1.0.0 — Initial Release (Temporary Patch for DMZCA 0.5.2)
- Lock-free Reflection Cache (
ClassValue+ConcurrentHashMap): Added zero-allocation hot paths for 0-arg, 1-arg, pipe-delimited, and field reflection lookups with cached stackless negative results. - Full Common & Client Coverage: Automatically transforms 142 DMZCA classes (92 common + 50 client), rewriting 1,194 uncached
Class.getMethod*/getField*/forName/CachedReflection.*call sites. - Hot Helper Replacements (34 methods): Replaced
CachedReflection.getMethods/getDeclaredMethods(removes.clone()GC churn),McaGeneticsRuntime.invoke(removes Mojmap-firstNoSuchMethodExceptionspam), all 23 pipe-splitcall/invokehelpers, and 8getField/field/findFieldhelpers. - Zero Gameplay Changes: Verified via Spark profiling (-72% to -85% DMZCA server tick time near villages, ~23 FPS -> 50+ FPS) with full feature parity.
- Pack Metadata: Includes valid Forge 1.20.1
pack.mcmeta(pack_format: 15) for clean loading with zero warnings.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include