Mayfix Performance Optimization
A performance mod targeting container and drag-related stutter, with individually toggleable optimizations.
Please download from the original page.
Prerequisites
The current package's manifest.xml lists no required mods.
This mod addresses stutter related to containers and dragging. According to its description, features include: overriding the vanilla empty-slot detection logic so dragging items into a full large container no longer stutters; speeding up container opening; suppressing redundant layout rebuilds and mask state change notifications while container windows are open; skipping the first redundant check when setting a window title; holding the middle mouse button and sweeping over a container for quick content preview; caching tooltip calculations to avoid recomputing container value every frame; caching key listener lists to reduce per-frame memory allocation in the input system; reusing empty-slot lookup results within the same frame while dragging; and eliminating per-frame redundant highlight rebuilds and item tree traversal when box-selecting or group-dragging many items. Settings are accessible via the gear icon in the mod menu, where each optimization can be toggled individually; after subscribing, enable it in the mod menu and restart. The author suggests enabling the close-window suppression option when opening containers with many items, and leaving debug options off unless needed. See the original author's Workshop page for details on effects and compatibility.

Comments
0Loading comments…