IGListKit/Source/Common
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
..
Internal Make sure collection have unique ListDiffable objects on initial data… 2017-11-15 11:27:25 -08:00
IGListAssert.h Remove IGListSectionType 2017-04-19 08:26:30 -07:00
IGListBatchUpdateData.h Swift name annotations 2017-05-09 14:31:28 -07:00
IGListBatchUpdateData.mm Prevent duplicate item deletes and drop reload collisions 2017-04-19 17:17:41 -07:00
IGListCompatibility.h Added compatibility header 2016-12-24 10:44:25 -08:00
IGListDiff.h Swift name annotations 2017-05-09 14:31:28 -07:00
IGListDiff.mm Spelling & General Fixes 2017-05-25 08:03:37 -07:00
IGListDiffable.h Swift name annotations 2017-05-09 14:31:28 -07:00
IGListDiffKit.h Added Subspec for Diffing 2016-12-27 12:44:27 -08:00
IGListExperiments.h added experiment to make [IGListAdapter visibleSectionControllers] a bit faster 2017-11-16 16:07:29 -08:00
IGListIndexPathResult.h Swift name annotations 2017-05-09 14:31:28 -07:00
IGListIndexPathResult.m Add changeCount API to index set and path results 2017-07-12 12:54:28 -07:00
IGListIndexSetResult.h Swift name annotations 2017-05-09 14:31:28 -07:00
IGListIndexSetResult.m Add changeCount API to index set and path results 2017-07-12 12:54:28 -07:00
IGListMacros.h Add debug dump scripts 2017-04-21 16:46:06 -07:00
IGListMoveIndex.h Swift name annotations 2017-05-09 14:31:28 -07:00
IGListMoveIndex.m Move macOS and diffing files to Common dir 2016-12-19 12:29:24 -08:00
IGListMoveIndexPath.h Swift name annotations 2017-05-09 14:31:28 -07:00
IGListMoveIndexPath.m Move macOS and diffing files to Common dir 2016-12-19 12:29:24 -08:00
NSNumber+IGListDiffable.h Move macOS and diffing files to Common dir 2016-12-19 12:29:24 -08:00
NSNumber+IGListDiffable.m Move macOS and diffing files to Common dir 2016-12-19 12:29:24 -08:00
NSString+IGListDiffable.h Move macOS and diffing files to Common dir 2016-12-19 12:29:24 -08:00
NSString+IGListDiffable.m Move macOS and diffing files to Common dir 2016-12-19 12:29:24 -08:00