promotional bannermobile promotional banner

LightSpeedRe - Launch optimizations

Reduces your waiting time by loading modpacks significantly faster (currently 48% - 71%)
Back to Files

Lightspeed 1.20.1-2.0.12 (Fabric)

File namelightspeed-fabric-1.20.1-2.0.12.jar
Uploader
kltytonkltyton
Uploaded
Nov 27, 2026
Downloads
15
Size
318.3 KB
Mod Loaders
Fabric
File ID
9840812
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Fabric

modImplementation "curse.maven:lightspeedre-launch-optimizations-1388941:9840812"

Learn more about Curse Maven

What's new

English

  • Add lazy directory-range indexing in ResourcePathIndex, compact indexing for VanillaPackResources, shared ZIP overlay indexing on SharedZipFileAccess, and empty sub-pack short-circuiting across FallbackResourceManager, DelegatingPackResources, and CompositePackResources.
  • Remove lock contention in MultiPackResourceManager resource listing caches on 1.21.1+ and reuse cached FileToIdConverter.listMatchingResourceStacks lookups during initial reload.
  • Avoid materializing the full blockstate hash table in ModelLocationSets.IndexedLocationSet during bulk block population and subsequent item/standalone additions, optimize StateVariantSupport lookups for large blockstate tables, switch BitSetVoxelUnion to word-level bit operations, make ObjectHolderDispatch updates incremental, and narrow FontWarmupSnapshot provider probing.
  • Check the lock-free early mod index before the Agent fallback in Forge PathResourcePackMixin to avoid redundant archive view creation, and add NeoForge 1.21.1 SecureJarHandler (Jar$JarModuleDataProvider) direct path lookup support in the Bootstrap Agent.

中文

  • 为 ResourcePathIndex 新增懒建目录区间索引,为原版 VanillaPackResources 新增紧凑索引,将 ZIP 索引下沉至 SharedZipFileAccess 供 overlay 共享,并在 FallbackResourceManager、DelegatingPackResources 与 CompositePackResources 中跳过空命名空间与空目录子包调用。
  • 消除 1.21.1+ MultiPackResourceManager 资源列表缓存的 ConcurrentHashMap 桶锁竞争,并复用首次重载期间的 FileToIdConverter.listMatchingResourceStacks 查询。
  • 避免 ModelLocationSets.IndexedLocationSet 在批量写入方块状态及追加物品/独立模型时构建完整方块状态哈希表;优化大状态集方块的 StateVariantSupport 查找、将 BitSetVoxelUnion 改为字级位运算、使 ObjectHolderDispatch 增量追加更新,并缩减 FontWarmupSnapshot 提供方探测次数。
  • 调整 Forge PathResourcePackMixin 优先走零分配早期索引以避免 Agent 模式下重复创建归档视图,并在 Bootstrap Agent 中补齐 NeoForge 1.21.1 SecureJarHandler(Jar$JarModuleDataProvider)的直接路径读取补丁。