+ 1
How can I made a faster code
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.
+ 8
By learning C or C++. 😁
+ 4
Abouelkhair Sayed ,
By practice...solve as much as problem statement you can... eventually your coding speed increase 👍
+ 4
Abouelkhair Sayed ,
faster than what?
can you share your attempt???
0
I mean that when I write large codes and programs, there is slowness in execution
0
By practice practice and practice...
0
Please I'm new hear