-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve Item request processing (#13)
Currently the addon isn't correctly tracking when an item doesn't exist. This is causing an excessive number of item info queries when logging in, since the same items are being checked repeatedly. Testing was done on Classic Era, logging in for the first time after restarting the game. Before changes, I recorded 242 GET_ITEM_INFO_RECEIVED events over ~85 seconds when the addon loads. After changes, I recorded 30 GET_ITEM_INFO_RECEIVED events over ~5 seconds when the addon loads. I've also tested changes on Wrath, but not Retail. As far as I know, the ItemMixin API is unchanged in all game versions.
- Loading branch information
Showing
1 changed file
with
18 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters