TurboMode 0.0.12
Pre-release
Pre-release
New category MiscCleanups for small cleanups that aren't really big enough individually to warrant their own config option, but can add up enough to include in the mod.
- Fix some garbage and slightly speedup
ResourceFlowRequestManagerwhen processing flow requests. This is done by addingGetHashCode()andIEnumerbale<T>implementations to thestructs it uses asDictionary<K,V>keys, preventingDictionaryfrom falling back onValueType's default reflection based implementation for that data. - Fix some garbage generated by reflection when
MessageCenterrecycles a message object by generating precompiled delegates to clear the message. (Ironically, the recycle process was creating more overhead than creating brand new messages would have done.)
Note: These optimizations are in the prepatcher dll, so be sure to manually copy TurboMode.Prepatch.dll to BepInEx/patchers to get them.