• Marius Volkhart's avatar
    Change ImagePipelineConfig initialization in Dagger graph · 186f131e
    Marius Volkhart authored
    Rather than creating a new, unsized HashSet, use idiomatic Kotlin to create the set of RequestListeners for the ImagePipelineConfig. Under the hood a SingletonSet will be used which is optimized for the current use case, but if additional Listeners are added, the collections will automatically be sized appropriately. This leads to better memory utilization and reduced CPU usage.
    186f131e
Name
Last commit
Last update
.circleci Loading commit data...
.github Loading commit data...
app Loading commit data...
config/quality Loading commit data...
gradle/wrapper Loading commit data...
player Loading commit data...
.gitignore Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CODING_STYLE.md Loading commit data...
HISTORY.md Loading commit data...
LICENSE Loading commit data...
PLANNING.md Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...
build.gradle Loading commit data...
dependencies.gradle Loading commit data...
generator.kts Loading commit data...
gradle.properties Loading commit data...
gradlew Loading commit data...
gradlew.bat Loading commit data...
settings.gradle Loading commit data...