源码里面对这个进行了注释:
/**
- Gets a child from the container with its tag.
- @param tag An identifier to find the child node.
- @return a Node object whose tag equals to the input parameter.
- Please use**
getChildByName()** instead.
*/
为什么说要用Name代替?getChildByName与getChildByTag都是循环遍历,但是相对来说不应该是用tag更加快吗?