Optimizing the For loop: Comparison of For loop and micro For loop

作者
Rishabh Jain,Sakshi Gupta
出处
期刊:Cornell University - arXiv [arXiv]
标识
DOI:10.48550/arxiv.1410.3772
摘要

Looping is one of the fundamental logical instructions used for repeating a block of code. It is used in programs across all programming languages. Traditionally, in languages like C, the for loop is used extensively for repeated execution of a block of code, due to its ease for use and simplified representation. This paper proposes a new way of representing the for loop to improve its runtime efficiency and compares the experimental statistics with the traditional for loop representation. It is found that for small number of iterations, the difference in computational time may not be considerable. But given any large number of iterations, the difference is noticeable.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
Drfan发布了新的文献求助10
刚刚
iNk的应助被xinyingking采纳,获得10
刚刚
天天快乐的应助被勤奋的栾采纳,获得10
刚刚
党参发布了新的文献求助10
刚刚
小豆包发布了新的文献求助10
1秒前
1秒前
KyleYF完成签到,获得积分10
1秒前
会飞的鱼发布了新的文献求助10
1秒前
人青完成签到,获得积分10
1秒前
frank完成签到,获得积分10
1秒前
梦于行发布了新的文献求助10
1秒前
2秒前
正直凌文发布了新的文献求助20
2秒前
2秒前
人可完成签到,获得积分10
2秒前
2秒前
务实平露发布了新的文献求助10
3秒前
lucifer0922完成签到,获得积分10
3秒前
英吉利25发布了新的文献求助30
4秒前
科研通AI6.4的应助被libra采纳,获得10
4秒前
wuyu_0416发布了新的文献求助10
4秒前
4秒前
4秒前
科研通AI6.3的应助被胆小鬼采纳,获得10
4秒前
MCKZ完成签到,获得积分10
5秒前
5秒前
5秒前
李美兰发布了新的文献求助10
5秒前
乘风的法袍完成签到,获得积分10
6秒前
TiDeeee的应助被江枫渔火采纳,获得10
6秒前
6秒前
爆米花的应助被178采纳,获得10
6秒前
iilll完成签到 ,获得积分10
6秒前
7秒前
7秒前
7秒前
执念发布了新的文献求助10
8秒前
科研通AI2S的应助被张笑柔采纳,获得10
8秒前
8秒前
kymao完成签到,获得积分10
8秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Comparison of cardiorespiratory responses, kinematic changes and psychological responses between tachi run and moderate intensity constant run 500
Cortex activity fluctuations during TaiChi Run by functional near-inferred spectroscopy 500
高速电流舵型数字模拟转换器 500
The Use of the Quantec Scanner in Longitudinal Follow Up of Patients with Spinal Deformities 500
Social Psychology in the Real World 500
Data Driven Casing Collar Feature Detection and Identification for Automated Depth Estimation for Wireline 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8261071
求助须知:如何正确求助?哪些是违规求助? 9634743
关于积分的说明 22190235
捐赠科研通 7885301
什么是DOI,文献DOI怎么找? 3460805
关于科研通互助平台的介绍 2579486
邀请新用户注册赠送积分活动 2512720