Several small optimizations, especially to _ASPendingState and other hot paths.

This commit is contained in:
Scott Goodson
2015-12-23 16:38:33 -08:00
parent dd6ddfc0a2
commit 928c440b4c
7 changed files with 48 additions and 28 deletions

View File

@@ -144,6 +144,9 @@ typedef NS_OPTIONS(NSUInteger, ASDisplayNodeMethodOverrides)
// Call didExitHierarchy if necessary and set inHierarchy = NO if visibility notifications are enabled on all of its parents
- (void)__exitHierarchy;
// Helper method to summarize whether or not the node run through the display process
- (BOOL)__implementsDisplay;
// Display the node's view/layer immediately on the current thread, bypassing the background thread rendering. Will be deprecated.
- (void)displayImmediately;