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
self.dataSource= tableView.bind(to: query) { tableView, indexPath, snapshot in
89
+
let cell = tableView.dequeueReusableCell(withIdentifier: "reuseIdentifier",
90
+
for: indexPath)
91
+
/* populate cell */
92
+
return cell
93
+
}
94
+
```
95
+
96
+
Keep queries bounded. When a query changes, FUIBatchedArray falls back to a Longest Common Subsequence (LCS) algorithm with O(N^2) complexity on the main thread to compute the diff. Unbounded queries can easily block the main thread and cause UI hangs.
97
+
48
98
#### FUIBatchedArray
49
99
50
100
`FUIBatchedArray` powers all of the updating logic in the data source classes
0 commit comments