You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After profiling in Chrome, it looks like a large portion of time is spent in calls to .filter, particularly for cite_collection_contains_urn. Perhaps a better approach would be to build up a hash once which we can check directly for every value?
The other large call chain is filter > add_translations > set_cts_text > set_passage > add_urn_li > add_valid_urns > build_cts_ui > success.
Other large hits are in Layout (8s), and Recalculate Style (6s).