Skip to content

InventoryIconSetter and MagicIconSetter reduces inventory performance #207

Description

@zndxcvbn

In benchmarks, calling processList x100 takes 2100ms when opening the inventory, causing a delay when switching between categories when the inventory contains approximately 700-800 items. The exact cause of the bug is still unclear, but fixing the icon processing logic for InventoryIconSetter optimizes this to 800-900ms.

(100 calls were made for benchmarking; to more clearly see the difference, divide the time by 100)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions