Skip to content

v1.4.5

Choose a tag to compare

@athei athei released this 06 Aug 22:11
· 50 commits to main since this release

Fix release on top of v1.4.4, plus a performance improvement.

GetName returns unit GUIDs again

v1.4.3 taught the mod to take back the GetName entry after another mod overwrites it at world entry. That take-back served names only, so addons that call GetName with an argument to read the unit's GUID (some nameplate addons do this, TankPlates among them) stopped getting GUIDs and could misbehave. GetName now serves the GUID whenever a GUID-capable mod (SuperWoW or nampower) is installed, and the take-back also engages when only nampower is present. A latent bug going back to v1.4.1, where a unit carrying a zero GUID could crash the client through the name cache, was fixed along the way.

Draw lists sort faster

The client sorts its draw lists every frame with comparators that re-read both elements' sort fields on every comparison. Two of the sorts now compute a compact key per element once and compare keys instead, and a third that bounced every comparison through a hook detour now calls its comparator directly. The result is bit-identical draw order at roughly half the sorting cost; on our reference machine that is about two percent of frame time back in busy scenes.

More diagnostics in the performance log

The performance log gained counters for the collision and trace workload, next to the existing animation and particle lines, and the cheaper timing mode for machines with slow clock reads has now been exercised end to end. If you capture logs or profiles for us, capture your next raid on this version; it supersedes v1.4.4 for that purpose and everything in these notes rides along.