0 comments (0 comments)0 reactions (0 reactions)0 assignees (0 assignees)Python211 forks (211 forks)batch import
enhancementgood first issue
Repository metrics
- Stars
- 608 stars (608 stars)
- PR merge metrics
- No merged PRs in 30d (No merged PRs in 30d)
Description
Initialising the mixer causes Pygame to burn one whole CPU on Linux:
https://github.com/pygame/pygame/issues/331
Pygame Zero should initialise the mixer lazily (eg. when sounds are loaded) to avoid suffering performance problems if the mixer is not needed.
Contributor guide
- Research direction
- Trace where the Pygame mixer is currently initialized in the pgzero codebase and change it to initialize only when a sound is loaded or played.
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Prerequisites
- PythonPygame