[ 
https://issues.apache.org/jira/browse/WEEX-648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16667235#comment-16667235
 ] 

ASF GitHub Bot commented on WEEX-648:
-------------------------------------

wqyfavor commented on a change in pull request #1644: [WEEX-648][iOS]native 
batch for dom operations generating from JavaScript
URL: https://github.com/apache/incubator-weex/pull/1644#discussion_r228933022
 
 

 ##########
 File path: ios/sdk/WeexSDK/Sources/Manager/WXComponentManager.h
 ##########
 @@ -262,4 +262,18 @@ void WXPerformBlockSyncOnComponentThread(void 
(^block)(void));
  */
 - (void)enumerateComponentsUsingBlock:(void (^)(WXComponent *, BOOL 
*stop))block;
 
+#pragma mark batch mark
+
+/**
+ a start native batch tag for a group of UI operation  , company with 
performBatchEnd
 
 Review comment:
   去掉多余的空格,operation -> operations

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> introduce native batch for dom operations generating from javaScript
> --------------------------------------------------------------------
>
>                 Key: WEEX-648
>                 URL: https://issues.apache.org/jira/browse/WEEX-648
>             Project: Weex
>          Issue Type: Improvement
>          Components: Android, iOS
>            Reporter: xingZhang
>            Assignee: xingZhang
>            Priority: Major
>
> We will introduce native batch for dom operations generating from javaScript
> wrap a series of dom operations with beginBatch and endBatch directives, when 
> every V-sync signal comes,  we ensure that the operations between beginBatch 
> and endBatch can be performed in current V-sync, this policy can drop frames 
> maybe, for our policy dropping frames, we only allow 20 frames at most.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to