924060929 commented on PR #49208:
URL: https://github.com/apache/doris/pull/49208#issuecomment-2733367029

   the switch use loop unrolling to speedup traverse, for most plans contains 
0/1/2 children, the switch only has one condition, but for loop has more 
conditions, for example, two children need check i < plan.children.size() for 
three times。
   
   so this code is deliberate


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to