Help with SDD assignment (1 Viewer)

Joined
May 15, 2021
Messages
38
Gender
Male
HSC
2022
Uni Grad
2025
I would like some feedback on the code for my SDD assignment based on pygame. Is anyone able to give some feedback on how I can possibly make the code more efficient? If yes, then could you kindly dm me?

Appreciate it!
 

cossine

Active Member
Joined
Jul 24, 2020
Messages
416
Gender
Male
HSC
2017
I would like some feedback on the code for my SDD assignment based on pygame. Is anyone able to give some feedback on how I can possibly make the code more efficient? If yes, then could you kindly dm me?

Appreciate it!
Have you read any articles?
 

brent012

Webmaster
Webmaster
Joined
Feb 26, 2008
Messages
5,238
Gender
Male
HSC
2011
Best to just jump in and profile it, an IDE like PyCharm should help as they have profiler tools built in. There should be guides and youtube videos about how to do that.

You might be able reason through why some parts of the code are slow, or find known performance anti-patterns for PyGame online, but profiling will show you exactly what's slow and let you narrow down the investigation process. Profile, Fix and repeat that cycle until you've fixed all the low hanging fruit/met your performance goals.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top