Skip fetching unread counts on changing sidebar selection. It’s not needed and it’s expensive. This provides a major performance boost when using my 2500-feed test.

This commit is contained in:
Brent Simmons 2017-12-18 10:00:06 -08:00
parent ebe43c43f8
commit e091f1c609
1 changed files with 0 additions and 3 deletions

View File

@ -256,9 +256,6 @@ private extension SidebarViewController {
let appInfo = AppInfo() let appInfo = AppInfo()
if let objects = selectedObjects { if let objects = selectedObjects {
appInfo.objects = objects appInfo.objects = objects
DispatchQueue.main.async {
self.updateUnreadCounts(for: objects)
}
} }
appInfo.view = outlineView appInfo.view = outlineView