IGListKit/Source/Internal
Maxime Ollivier 82a2a2ee18 added experiment to make [IGListAdapter visibleSectionControllers] a bit faster
Summary:
* Issue: [IGListAdapter visibleSectionControllers] calls [UICollectionViewLayout layoutAttributesForElementsInRect:] which can be expensive. And since visibleSectionControllers is called in scrollViewDidScroll, it can add up and take a toll on scroll performance. On an iPhone 7, it's in 2-10% of the main-thread samples (using Time Profiler).
* Fix: IGListDisplayHandler conveniently keeps track of visible IGListSectionControllers, so let's just use that. Now, [IGListAdapter visibleSectionControllers] drops to ~0.3% of samples.

Reviewed By: rnystrom

Differential Revision: D6351474

fbshipit-source-id: 66914db95e08498927bfbceda4d2e9d58cbc7530
2017-11-16 16:07:29 -08:00
..
IGListAdapter+DebugDescription.h Add debug dump scripts 2017-04-21 16:46:06 -07:00
IGListAdapter+DebugDescription.m Add isPrefetchingEnabled to debug description 2017-05-09 16:20:47 -07:00
IGListAdapter+UICollectionView.h Move UICollectionView(DataSource|Delegate) to category 2017-04-18 11:21:18 -07:00
IGListAdapter+UICollectionView.m Add cell (un)highlight APIs 2017-09-20 08:46:17 -07:00
IGListAdapterInternal.h Add update finished announcer API 2017-10-20 08:57:11 -07:00
IGListAdapterProxy.h unintercepted => non-intercepted, close #774 2017-05-25 08:03:36 -07:00
IGListAdapterProxy.m Add cell (un)highlight APIs 2017-09-20 08:46:17 -07:00
IGListAdapterUpdater+DebugDescription.h Add debug dump scripts 2017-04-21 16:46:06 -07:00
IGListAdapterUpdater+DebugDescription.m Add debug dump scripts 2017-04-21 16:46:06 -07:00
IGListAdapterUpdaterInternal.h Add debug dump scripts 2017-04-21 16:46:06 -07:00
IGListBatchUpdateData+DebugDescription.h Add debug dump scripts 2017-04-21 16:46:06 -07:00
IGListBatchUpdateData+DebugDescription.m Add debug dump scripts 2017-04-21 16:46:06 -07:00
IGListBatchUpdates.h Update project settings and fix errors 2017-10-26 11:20:55 -07:00
IGListBatchUpdates.m Prevent duplicate item deletes and drop reload collisions 2017-04-19 17:17:41 -07:00
IGListBatchUpdateState.h Track batch updates in object and explicit state 2017-03-07 09:33:03 -08:00
IGListBindingSectionController+DebugDescription.h Added debug dump support to IGListBindingSectionController 2017-08-11 09:19:00 -07:00
IGListBindingSectionController+DebugDescription.m Added debug dump support to IGListBindingSectionController 2017-08-11 09:19:00 -07:00
IGListCollectionViewLayoutInternal.h add integer pixel scaled for frame 2017-03-17 12:33:34 -07:00
IGListDebugger.h Add debug dump scripts 2017-04-21 16:46:06 -07:00
IGListDebugger.m Add debug dump scripts 2017-04-21 16:46:06 -07:00
IGListDebuggingUtilities.h Add debug dump scripts 2017-04-21 16:46:06 -07:00
IGListDebuggingUtilities.m Add debug dump scripts 2017-04-21 16:46:06 -07:00
IGListDisplayHandler.h added experiment to make [IGListAdapter visibleSectionControllers] a bit faster 2017-11-16 16:07:29 -08:00
IGListDisplayHandler.m added experiment to make [IGListAdapter visibleSectionControllers] a bit faster 2017-11-16 16:07:29 -08:00
IGListReloadIndexPath.h Prevent duplicate item deletes and drop reload collisions 2017-04-19 17:17:41 -07:00
IGListReloadIndexPath.m Prevent duplicate item deletes and drop reload collisions 2017-04-19 17:17:41 -07:00
IGListSectionControllerInternal.h Rename sectionIndex API to just section 2017-05-11 14:49:59 -07:00
IGListSectionMap+DebugDescription.h Add debug dump scripts 2017-04-21 16:46:06 -07:00
IGListSectionMap+DebugDescription.m Added debug dump support to IGListBindingSectionController 2017-08-11 09:19:00 -07:00
IGListSectionMap.h Move section index to property 2017-05-01 07:28:27 -07:00
IGListSectionMap.m Rename sectionIndex API to just section 2017-05-11 14:49:59 -07:00
IGListStackedSectionControllerInternal.h Remove IGListSectionType 2017-04-19 08:26:30 -07:00
IGListWorkingRangeHandler.h Remove IGListSectionType 2017-04-19 08:26:30 -07:00
IGListWorkingRangeHandler.mm Remove IGListSectionType 2017-04-19 08:26:30 -07:00
UICollectionView+DebugDescription.h Add debug dump scripts 2017-04-21 16:46:06 -07:00
UICollectionView+DebugDescription.m Fix format warnings for clang 5.0 2017-09-25 10:34:51 -07:00
UICollectionView+IGListBatchUpdateData.h Initial commit 2016-10-11 10:12:17 -04:00
UICollectionView+IGListBatchUpdateData.m IGListDiffKit 2017-11-06 17:02:06 -08:00