
[Bug]: Severe Performance Issues with Split by Item Location / Type
Bauxite opened this issue ยท 0 comments
What happened?
Reference: Cidan/BetterBags#745
When the Split by Item Location and Split by Item Type options are selected, over 1000 categories are created in BetterBag's saved variables. This results in large (1-2 second) lag spikes when logging in, opening the bags, and looting. Because of how categories work in BetterBags, removing the plugin does not actually remove the categories created by it, so the lag persists until the categories are removed manually, or the BetterBags.lua saved vars are wiped.
I think categories are created on-demand based on bag contents, so this really only started to manifest as an issue about halfway through Collector's Bounty, because nearly every possible combination had been looted at least once and the number of categories ballooned past 1000. There are no issues with a fresh install and normal bag contents.
Secondary issue:
Nonsensical categories are created with both options enabled because it's treating the location and type combinatorially.
Examples:
Mog - Tradable - Guns - Legs
Mog - Tradable - Guns - Tabard
Mog - Tradable - Guns - Held In Off-hand
Mog - Tradable - Guns - Finger
Version
2.4.3
What game version are you seeing the problem on?
Retail