Pygame Platformer Laggy
I made a platformer and the game seems to lag. I think it is because of the size of the map. I don't want to change that though.
Here is some code that takes a while to run according to a profiler (shortest to longest):
Is there any way to make it run faster?