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
In getFilteredMutationsOverTimeData.ts we filter for segments. There we loop through all segments to find if a segment was selected or not. This can be more efficient by replacing the array of DisplayedSegment with an object of the shape { [segment]: value }.
The same is true for the DisplayedMutationType.
Check first if it is feasible to convert the arrays to objects. Then implement it.
The text was updated successfully, but these errors were encountered:
In
getFilteredMutationsOverTimeData.ts
we filter for segments. There we loop through all segments to find if a segment was selected or not. This can be more efficient by replacing the array ofDisplayedSegment
with an object of the shape{ [segment]: value }
.The same is true for the
DisplayedMutationType
.Check first if it is feasible to convert the arrays to objects. Then implement it.
The text was updated successfully, but these errors were encountered: