FPSFlow
Improve FPS with smart rendering, entity culling, adaptive optimizations, and configurable performance profiles
Оцените первым
13.4K
12
Список изменений
[1.8.1]
Added
- Lithium-inspired performance optimizations — FPSFlow 1.8.1 integrates several key optimization techniques adapted from CaffeineMC's excellent Lithium mod, reimplemented from scratch to respect Lithium's license and ensure full compatibility with the FPSFlow codebase:
- Compact Sine Table (
CompactSineTable.java) — A memory-efficient sine LUT that reduces table size from 256 KB to 64 KB using trigonometric identities (sin(-x) = -sin(x), sin(x) = sin(π/2 - x)). Reduces CPU cache pressure during rotation-heavy rendering while maintaining bit-for-bit compatibility with Minecraft's MathHelper. - Direction Constants Caching (
DirectionValuesMixin.java,FastDirection.java) — Prevents repeated defensive array copies fromDirection.values()in hot code paths by providing cached references. Every call toEnum.values()in Java creates a new array allocation; this optimization eliminates that overhead in frequently-called redstone, block update, and entity collision code. - Fast BlockPos Utilities (
FastBlockPos.java) — Thread-local mutable BlockPos for iteration contexts plus efficient long-packing for hash-based collections, reducing GC pressure in chunk scanning and neighbor-iteration hot loops. - Collection Helper (
FastCollectionHelper.java) — Pre-sized HashMap/HashSet factories with optimal initial capacities, identity-based sets for entity classification, and utility methods that avoid the common allocation pitfalls found in vanilla's collection usage.
- Compact Sine Table (
- Full Lithium attribution — All adapted code paths include Javadoc
@seereferences andInspired bycomments linking to the upstream Lithium repository.
Changed
- Version bumped to 1.8.1 — Gradle property
mod_versionupdated from1.8to1.8.1. - OptimizationManager module list extended — New lightweight utility modules are registered on startup (no tick overhead, no Minecraft class dependencies).
Fixed
- None.
Файлы
fpsflow-1.8.1-mc26.2-java25.jar(171.66 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.8.1
Загрузчики
Fabric
Версии игры
26.1–26.2
Загрузок
232
Дата публикации
24.07.2026