• Phillip Webb's avatar
    Fix speed regression in property binding · 0e32c0a7
    Phillip Webb authored
    Update `MapBinder` to only compute values if an entry does not already
    exist. Prior to this commit, a binding to `Map<String,List<String>>`
    would be expensive since the same entries would be bound many times.
    
    For example, given:
    
    	foo.bar[0]=baz1
    	foo.bar[1]=baz1
    	foo.bar[2]=baz1
    
    The Map binder would iterate over the properties `bar[0]`, `bar[1]` and
    `bar[2]`. Each of these properties resulted in the same actual key of
    `bar` which would then be bound to list multiple times.
    
    Fixes gh-10093
    0e32c0a7
Name
Last commit
Last update
.github Loading commit data...
.mvn Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-autoconfigure Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-test Loading commit data...
spring-boot-test-autoconfigure Loading commit data...
spring-boot-tools Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...