Pawn integration lag (remove or optionnal feature)
Zwyk opened this issue ยท 0 comments
Addon Version
v0.2.2
World of Warcraft Version
Classic Era (And SoD/Hardcore)
Describe the bug
The Pawn integration feature makes the game freeze for about a second every time the inventory is called (looting something, using a consummable, opening the mailbox, ...).
I've been removing line 236 in core/init.lua pawn:Enable()
to resolve this issue but having to do this at every (frequently happening) update gets tiring.
The issue comes from Pawn so I think there's not much to be done on BB's side, but performance issues from Pawn have been an ungoing issue for years so I doubt it will be resolved any time soon. I tried solving this issue on Pawn's side years ago, without results. If I remember correctly, it's because Pawn's comparison checks every item with all other items multiple times (like 50 times) for some reason and of course doesn't keep the information so it does it over and over. Plus the comparisons themselves are a performance nightmare.
Please either remove the Pawn integration altogether or make it an option.
Steps to reproduce
- Get Pawn
- Have items in your bags to be compared with your currently equipped gear. The more, the heavier the lag. Rings are the biggest culprits.
- Open a mailbox / split an item stack / use a consummable / loot a mob / ...