关闭

Some tips about looping statement

96人阅读 评论(0) 收藏 举报
分类:

1.Usually if we need to find some data from an array or other objecs,we need to traverse it.And if we will use the data only once ,do not forget to add break to stop the traversal although it’s not wrong if we do not add it.Then we can save time and improve efficiency.

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:16688次
    • 积分:838
    • 等级:
    • 排名:千里之外
    • 原创:123篇
    • 转载:2篇
    • 译文:0篇
    • 评论:0条