Code Performance Increase - How? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Code Performance Increase - How?

I have a technical test on Codility tomorrow and currently practicing. Before any judgement, please keep in mind that I am a beginner still. I have been doing a Demo test and I would get 3/4 passes at everything, but I get 0/4 at Code Performance and don't know why? Can anybody please advice me on what is code performance and what can I do to increase it through code choices? I thought it doesn't matter what code you choose to write as long as you get the correct answer. Thank you!

6th Mar 2022, 4:39 PM
Sebi Poiana
Sebi Poiana - avatar
6 ответов
+ 3
Which language are you using?
6th Mar 2022, 4:47 PM
Simon Sauter
Simon Sauter - avatar
+ 2
It could refer to several things: most likely how long it takes for the code to run, possibly how much memory it uses, etc.
6th Mar 2022, 4:45 PM
Simon Sauter
Simon Sauter - avatar
0
Maybe try to change type of images if you are using them, restructure your code to be more reusable
6th Mar 2022, 6:56 PM
Brigi
Brigi - avatar
0
I am using C#. And I am trying to find ways for code performance to improve in my solutions.
6th Mar 2022, 6:59 PM
Sebi Poiana
Sebi Poiana - avatar
0
Sorry, I'm not familiar with C
6th Mar 2022, 7:04 PM
Brigi
Brigi - avatar
0
I've never used C#. Do an internet search for "C# performance tips".
6th Mar 2022, 7:35 PM
Simon Sauter
Simon Sauter - avatar