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

Add an empty bitmap pool implementation. #561

Merged
merged 6 commits into from
Oct 27, 2020

Conversation

colinrtwhite
Copy link
Member

Adds an empty bitmap pool implementation. This should be slightly more efficient on API 24 and up or if bitmapPoolPercentage is set to 0 since it avoids locking + all of the pool management code in RealBitmapPool.

Copy link
Member

@Jawnnypoo Jawnnypoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great improvement!

@colinrtwhite colinrtwhite merged commit f78db72 into master Oct 27, 2020
@colinrtwhite colinrtwhite deleted the colin/empty_bitmap_pool branch October 27, 2020 04:50
colinrtwhite added a commit that referenced this pull request Oct 5, 2022
* Add empty bitmap pool implementation.

* Relax restriction.

* Re-add restriction.

* Fix tests.

* Add default MovieDrawable constructor param.

* Revert change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants