Achievements for execution time and space efficient solutions?

Are there any achievement for writing faster code? I know if your code is slow enough it will time out before you get to the solution, but when I look at some of the posted solutions to Puzzles I notice they’re often pretty inefficient in terms of their time and memory use. Since these are often realistic concerns for professional coders, to encourage people to think about these, maybe there is a way to measure execution time and space requirements and give Achievement awards for superior performance? Or maybe introduce a special class of performance based puzzles where time and space optimization are the main goal. Otherwise, maybe people are optimizing for shortest written code rather than best performance…

2 Likes

Most people are optimizing for puzzle completion, and consider it done as soon as they hit 100% validator score.

1 Like

Some hard and very hard puzzles can’t be 100% solved without performance optimization.

2 Likes

OK, good to know. I’ve only done medium so far…

1 Like

There are medium puzzles that cannot be 100% solved without performance optimisation.

The key words “Big Data” give away those ones.

I was about to post another topic like this, but wanted to bump it instead. I don’t care how easy the puzzle is, I would like a rating of how efficient my code is based on aspects like how much time and memory it took to execute. The fastest most efficient would be the standard for everyone else to reach, then you could look at the best and see how to improve your coding practices.

2 Likes