Skip to content

Conversation

jablan
Copy link
Contributor

@jablan jablan commented Feb 11, 2025

Previously we were keeping only the list of localized objects, and re-calculate all the localization data on every inspector redraw. This caused the inspector to be super slow as more objects were listed.

This PR pre-calculates all the localization data (LocalizedString, SharedTableData, PhraseProvider) when the selection is changed, and keep the references in a list, so the redraw has everything ready.

@jablan jablan requested a review from bikmazefe February 11, 2025 15:53
Copy link
Member

@bikmazefe bikmazefe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@jablan jablan merged commit 847aced into main Feb 14, 2025
@jablan jablan deleted the 1444-slow-phrase-window branch February 14, 2025 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants