question about compiler | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

question about compiler

hey i made a test code that just checks if the number you entered can be a factorial of any other number. ive noticed that this compiler takes a while to process loops. is it just my tablet or does everyone experience slowness when working with loops? https://code.sololearn.com/cvxBukJx6eFL/?ref=app

8th Feb 2018, 8:40 PM
hinanawi
hinanawi - avatar
1 Answer
+ 1
Ultimately it depends how many iterations and what all it's actually doing in each one. For myself, I experience the slowness in general here. However, their compiler is having to send it from our end to their server, compile/execute/do security checks/etc.., and then feed back the output to us. When you start throwing in extensive code, or loops that have many iterations/calculations, then that only further adds to the time it takes.
8th Feb 2018, 8:48 PM
Fata1 Err0r
Fata1 Err0r - avatar