Skip to content
Zaldaryon edited this page Jul 31, 2026 · 9 revisions

Tungsten

Server-side allocation reduction and GC optimization mod for Vintage Story. Reuses temporary lists, arrays, and collections in hot paths to reduce garbage collection pauses.

Current version: v1.3.7 — For Vintage Story 1.22.0+

What it does

  • Entity, block, event manager, and get-drops list reuse
  • Chunk loading and unloading allocation reduction
  • Cooking container, container, and grid recipe optimization
  • Physics manager list and method list reuse
  • ServerMain LINQ elimination
  • Placeholder single-pass parsing and wildcard regex caching
  • GetEntitiesAround and GetPlayersAround list pooling
  • Entity despawn packet single-pass builder
  • RecipeBase LINQ elimination
  • Broadcast LINQ closure elimination
  • Bulk entity attributes packet wrapper reuse
  • ClassRegistry dictionary compaction after mod loading
  • Propick reading HashSet reuse and bearing block caching
  • GenTerra worldgen: zero-alloc ColumnNoise array reuse
  • GenTerra worldgen: inline bit manipulation replacing BitArray
  • Native noise library for simplex evaluation (when available)
  • Patch Conflict Detector for diagnosing Harmony conflicts
  • Memory Leak Watchdog for runtime monitoring
  • Per-optimization diagnostic system with auto-dump

27 optimizations, all individually toggleable. Runtime circuit breaker with auto-fallback. Built-in diagnostics prove each optimization is working. Admin command: /tungsten

Pages

  • Usage Guide — Installation, commands, configuration, testing, and troubleshooting
  • How It Works — What Tungsten actually does under the hood
  • Mod Compatibility — Tested mods, known interactions, detection system

Related mods

  • Synergy — Server-side performance and fluidity optimizations
  • OptiTime — Client-side performance optimizations

Clone this wiki locally