Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

small speedup: Use Surface.blits in sprite.Group.draw. #1724

Merged
merged 1 commit into from May 13, 2020

Conversation

illume
Copy link
Member

@illume illume commented May 12, 2020

Should be able to compare with this benchmark:

python3 examples/testsprite.py -noupdate_rects 10000

@illume illume added sprite pygame.sprite Performance Related to the speed or resource usage of the project labels May 12, 2020
Should be able to compare with this benchmark.
python3 examples/testsprite.py -noupdate_rects 10000
@illume
Copy link
Member Author

illume commented May 13, 2020

Seems there was a communication problem between travis-ci and github. The tests all passed: https://travis-ci.org/github/pygame/pygame/builds/686228980

@illume illume merged commit 21b158b into master May 13, 2020
@illume illume deleted the sprite-using-blits branch May 13, 2020 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Performance Related to the speed or resource usage of the project sprite pygame.sprite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants