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
68% of time is spent searching on the values of dictionaries (i.e. not searching a key, a scenario where Dictionaries perform better... it's searching among the values).
Even worse, all this calculation is part of answering AlbPrimarySelectionElement>>#selectionRectangles. When I logged the result, it was always an empty array!!!
So, 68% of time while dragging the scroll bar it is used in obtaining again and again an empty collection.
The text was updated successfully, but these errors were encountered:
Evaluate this script, then drag the scroll bar a few seconds.
This shows a profiler report in text, from where I focus on:
68% of time is spent searching on the values of dictionaries (i.e. not searching a key, a scenario where Dictionaries perform better... it's searching among the values).
Even worse, all this calculation is part of answering
AlbPrimarySelectionElement>>#selectionRectangles
. When I logged the result, it was always an empty array!!!So, 68% of time while dragging the scroll bar it is used in obtaining again and again an empty collection.
The text was updated successfully, but these errors were encountered: