+ 1

How can I made a faster code

13th Sep 2023, 10:53 AM
Abouelkhair Sayed
Abouelkhair Sayed - avatar
7 Réponses
+ 6
Abouelkhair Sayed , there are a few reasons why running a program can be slow. without having seen the code it is difficult to figur out what happens. also the local conditions can be an issue. some reasons that can slow down the speed: > large amount of data that has to be processed > high number of input / output operations like file reading / writing, ... > inefficient algorithms, unnecessary iterations, loops, ... > hardware limitations (ram, disk space), network issues, .... to catch these issues, we need to use a profiler software that can give helpful hints where the bottlenecks may be.
14th Sep 2023, 5:26 PM
Lothar
Lothar - avatar
+ 8
By learning C or C++. 😁
13th Sep 2023, 12:07 PM
Jan Markus
+ 4
Abouelkhair Sayed , By practice...solve as much as problem statement you can... eventually your coding speed increase 👍
13th Sep 2023, 11:14 AM
Riya
Riya - avatar
+ 4
Abouelkhair Sayed , faster than what? can you share your attempt???
13th Sep 2023, 6:43 PM
Lothar
Lothar - avatar
0
I mean that when I write large codes and programs, there is slowness in execution
14th Sep 2023, 12:56 PM
Abouelkhair Sayed
Abouelkhair Sayed - avatar
0
By practice practice and practice...
15th Sep 2023, 7:55 AM
Jai Prakash Patel
Jai Prakash Patel - avatar
0
Please I'm new hear
15th Sep 2023, 9:02 AM
Korede Toba-Ajayi
Korede Toba-Ajayi - avatar